Skip to content

Commit cfa43e5

Browse files
committed
update
Signed-off-by: You-Cheng Lin <[email protected]>
1 parent 33a5e1a commit cfa43e5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ray-operator/test/e2eautoscaler/raycluster_autoscaler_part2_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"time"
88

99
"github.com/onsi/gomega"
10-
. "github.com/onsi/gomega"
1110
corev1 "k8s.io/api/core/v1"
1211
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1312
corev1ac "k8s.io/client-go/applyconfigurations/core/v1"
@@ -518,7 +517,7 @@ func TestRayClusterAutoscalerGCSFT(t *testing.T) {
518517
LogWithTimestamp(test.T(), "Created ConfigMap %s/%s successfully", scripts.Namespace, scripts.Name)
519518

520519
checkRedisDBSize := DeployRedis(test, namespace.Name, RedisPassword)
521-
defer g.Eventually(checkRedisDBSize, time.Second*60, time.Second).Should(BeEquivalentTo("0"))
520+
defer g.Eventually(checkRedisDBSize, time.Second*60, time.Second).Should(gomega.BeEquivalentTo("0"))
522521

523522
rayClusterSpecAC := rayv1ac.RayClusterSpec().
524523
WithEnableInTreeAutoscaling(true).
@@ -586,7 +585,7 @@ func TestRayClusterAutoscalerGCSFT(t *testing.T) {
586585
Should(gomega.WithTransform(RayClusterDesiredWorkerReplicas, gomega.Equal(int32(0))))
587586

588587
err = test.Client().Ray().RayV1().RayClusters(namespace.Name).Delete(test.Ctx(), rayCluster.Name, metav1.DeleteOptions{})
589-
g.Expect(err).NotTo(HaveOccurred())
588+
g.Expect(err).NotTo(gomega.HaveOccurred())
590589
})
591590
}
592591
}

0 commit comments

Comments
 (0)