We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da595c commit ae9a648Copy full SHA for ae9a648
controllers/suite_test.go
@@ -811,7 +811,9 @@ var _ = Describe("NodeRemediation", func() {
811
812
Expect(k8sClient.Get(ctx, types.NamespacedName{Name: nodeName}, &node)).NotTo(HaveOccurred())
813
node.Status.Conditions[len(node.Status.Conditions)-1].Status = corev1.ConditionFalse
814
- Expect(k8sClient.Status().Update(ctx, &node)).NotTo(HaveOccurred())
+ Eventually(func() error {
815
+ return k8sClient.Status().Update(ctx, &node)
816
+ }, eventuallyTimeout).Should(Succeed())
817
818
Eventually(func() bool {
819
err := k8sClient.Get(ctx, client.ObjectKey{
0 commit comments