From 1ae8a9ba7dc396e96d3071c27767955d719dbcaa Mon Sep 17 00:00:00 2001 From: SimoTw Date: Fri, 29 Nov 2024 13:06:00 +0800 Subject: [PATCH] Revert "change test order" This reverts commit 0d6ca6afb3c38be593def0910dfc5f794a0ec2b9. --- .../test/e2eautoscaler/raycluster_autoscaler_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ray-operator/test/e2eautoscaler/raycluster_autoscaler_test.go b/ray-operator/test/e2eautoscaler/raycluster_autoscaler_test.go index 3aec5872d8e..2196285e22b 100644 --- a/ray-operator/test/e2eautoscaler/raycluster_autoscaler_test.go +++ b/ray-operator/test/e2eautoscaler/raycluster_autoscaler_test.go @@ -16,16 +16,16 @@ var tests = map[string]struct { HeadPodTemplateGetter func() *corev1ac.PodTemplateSpecApplyConfiguration WorkerPodTemplateGetter func() *corev1ac.PodTemplateSpecApplyConfiguration }{ - "Create a RayCluster with autoscaler v2 enabled": { - RayVersionGetter: GetRayVersionForAutoScalerV2, - HeadPodTemplateGetter: headPodTemplateApplyConfigurationV2, - WorkerPodTemplateGetter: workerPodTemplateApplyConfigurationV2, - }, "Create a RayCluster with autoscaling enabled": { RayVersionGetter: GetRayVersion, HeadPodTemplateGetter: headPodTemplateApplyConfiguration, WorkerPodTemplateGetter: workerPodTemplateApplyConfiguration, }, + "Create a RayCluster with autoscaler v2 enabled": { + RayVersionGetter: GetRayVersionForAutoScalerV2, + HeadPodTemplateGetter: headPodTemplateApplyConfigurationV2, + WorkerPodTemplateGetter: workerPodTemplateApplyConfigurationV2, + }, } func TestRayClusterAutoscaler(t *testing.T) {