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.
2 parents 687a2f0 + f6a35c5 commit 22ff6b4Copy full SHA for 22ff6b4
test/integration/scheduler/eventhandler/eventhandler_test.go
@@ -226,6 +226,11 @@ func TestUpdateNominatedNodeName(t *testing.T) {
226
t.Fatalf("Creating node error: %v", err)
227
}
228
229
+ // Ensure node is present in scheduler cache.
230
+ if err := testutils.WaitForNodesInCache(testCtx.Ctx, testCtx.Scheduler, 1); err != nil {
231
+ t.Fatalf("Waiting for node in cache error: %v", err)
232
+ }
233
+
234
// Create initial low-priority pod and wait until it's scheduled.
235
pod, err := testutils.CreatePausePod(testCtx.ClientSet, podLow)
236
if err != nil {
0 commit comments