Skip to content

Commit 51e99fb

Browse files
committed
test: simplify and deduplicate KubeRay e2e test code
- Unify 4 identical input structs into single KubeRaySpecInput - Extract waitForRayClusterReady() and waitForRayPodRunning() helpers - Simplify newRayClusterWithNativeScheduling() to build on newRayClusterUnstructured() - Move podGVR to package level (was declared locally in 2 functions) - Simplify Workload/PodGroup lookups from scan to direct Get by name - Use rayClusterName variable consistently instead of hardcoded strings - Net reduction of ~141 lines
1 parent 16cfa7d commit 51e99fb

2 files changed

Lines changed: 113 additions & 254 deletions

File tree

0 commit comments

Comments
 (0)