Skip to content

Commit

Permalink
Merge pull request #2769 from chrischdi/pr-flake-sd-ctrl
Browse files Browse the repository at this point in the history
πŸ› controllers: add 3 second timeout to assertion in test to deflake
  • Loading branch information
k8s-ci-robot authored Feb 28, 2024
2 parents 4d998e2 + 7793ef7 commit c4d4781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/servicediscovery_controller_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func assertHeadlessSvcWithUpdatedVIPEndpoints(ctx context.Context, guestClient c
key := client.ObjectKey{Namespace: namespace, Name: name}
Expect(guestClient.Get(ctx, key, headlessEndpoints)).Should(Succeed())
return headlessEndpoints.Subsets[0].Addresses[0].IP
}).Should(Equal(testSupervisorAPIServerVIP))
}, time.Second*3).Should(Equal(testSupervisorAPIServerVIP))
Expect(headlessEndpoints.Subsets[0].Ports[0].Port).To(Equal(int32(supervisorAPIServerPort)))
}

Expand Down

0 comments on commit c4d4781

Please sign in to comment.