From bbd5f194975cebf49445ba5646dd52e2a23bdd14 Mon Sep 17 00:00:00 2001 From: sanposhiho <44139130+sanposhiho@users.noreply.github.com> Date: Sat, 8 Jan 2022 18:19:30 +0900 Subject: [PATCH] Delete non-need AddUnschedulableIfNotPresent in e2e --- test/integration/scheduler/queue_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/integration/scheduler/queue_test.go b/test/integration/scheduler/queue_test.go index c4c3738475b..880890f7b6e 100644 --- a/test/integration/scheduler/queue_test.go +++ b/test/integration/scheduler/queue_test.go @@ -105,10 +105,6 @@ func TestCoreResourceEnqueue(t *testing.T) { t.Fatalf("Expect Pod %v to fail at scheduling.", podInfo.Pod.Name) } testCtx.Scheduler.Error(podInfo, fitError) - - // Scheduling cycle is incremented by one after NextPod() is called, so - // pass a number larger than i to move Pod to unschedulablePods. - testCtx.Scheduler.SchedulingQueue.AddUnschedulableIfNotPresent(podInfo, int64(i+10)) } // Trigger a NodeTaintChange event.