Commit 7002c53a authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #42808 from ravisantoshgudimetla/nodecontroller_eviction_flake

Automatic merge from submit-queue (batch tested with PRs 42024, 42780, 42808, 42640) Node controller test flake 39975 with delay for try function **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #39975 /cc @ncdc @gmarek @liggitt
parents dcdf11a9 7d444263
......@@ -1258,6 +1258,8 @@ func TestMonitorNodeStatusEvictPodsWithDisruption(t *testing.T) {
}
zones := testutil.GetZones(fakeNodeHandler)
for _, zone := range zones {
// Time for rate-limiter reloading per node.
time.Sleep(50 * time.Millisecond)
nodeController.zonePodEvictor[zone].Try(func(value TimedValue) (bool, time.Duration) {
uid, _ := value.UID.(string)
deletePods(fakeNodeHandler, nodeController.recorder, value.Value, uid, nodeController.daemonSetStore)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment