Skip to content

Commit

Permalink
Expect drift to occur within 5 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam committed Apr 22, 2024
1 parent 342f753 commit 1f967cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pkg/environment/common/expectations.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ func (env *Environment) EventuallyExpectDrifted(nodeClaims ...*corev1beta1.NodeC
g.Expect(env.Client.Get(env, client.ObjectKeyFromObject(nc), nc)).To(Succeed())
g.Expect(nc.StatusConditions().GetCondition(corev1beta1.Drifted).IsTrue()).To(BeTrue())
}
}).Should(Succeed())
}).WithTimeout(1 * time.Minute).Should(Succeed())
}

func (env *Environment) ConsistentlyExpectNodeClaimsNotDrifted(duration time.Duration, nodeClaims ...*corev1beta1.NodeClaim) {
Expand Down

0 comments on commit 1f967cb

Please sign in to comment.