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) {