Skip to content

Commit

Permalink
update test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonwang371 committed May 11, 2022
1 parent bbff554 commit 052f83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ray-operator/controllers/raycluster_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ var _ = Context("Inside the default namespace", func() {
// adding a scale down
Eventually(
getResourceFunc(ctx, client.ObjectKey{Name: myRayCluster.Name, Namespace: "default"}, myRayCluster),
time.Second*3, time.Millisecond*500).Should(BeNil(), "My raycluster = %v", myRayCluster)
time.Second*12, time.Millisecond*500).Should(BeNil(), "My raycluster = %v", myRayCluster)
rep := new(int32)
*rep = 2
myRayCluster.Spec.WorkerGroupSpecs[0].Replicas = rep
Expand All @@ -213,7 +213,7 @@ var _ = Context("Inside the default namespace", func() {
// retry listing pods, given that last update may not immediately happen.
Eventually(
listResourceFunc(ctx, &workerPods, filterLabels, &client.ListOptions{Namespace: "default"}),
time.Second*15, time.Millisecond*500).Should(Equal(2), fmt.Sprintf("workerGroup %v", workerPods.Items))
time.Second*30, time.Millisecond*500).Should(Equal(2), fmt.Sprintf("workerGroup %v", workerPods.Items))
})

It("should update a raycluster object", func() {
Expand Down

0 comments on commit 052f83f

Please sign in to comment.