remove unused variables in test/integration/scheduler/filters/filters_test.go

This commit is contained in:
Antonio Ojea 2022-05-06 12:50:30 +02:00
parent 46fc39f440
commit 6a0e55d124

View File

@ -37,16 +37,16 @@ import (
)
var (
createPausePod = testutils.CreatePausePod
initPausePod = testutils.InitPausePod
getPod = testutils.GetPod
deletePod = testutils.DeletePod
initTest = testutils.InitTestSchedulerWithNS
createAndWaitForNodesInCache = testutils.CreateAndWaitForNodesInCache
createNamespacesWithLabels = testutils.CreateNamespacesWithLabels
podUnschedulable = testutils.PodUnschedulable
createNode = testutils.CreateNode
createPausePod = testutils.CreatePausePod
deletePod = testutils.DeletePod
getPod = testutils.GetPod
initPausePod = testutils.InitPausePod
initTest = testutils.InitTestSchedulerWithNS
podScheduledIn = testutils.PodScheduledIn
podUnschedulable = testutils.PodUnschedulable
waitForPodUnschedulable = testutils.WaitForPodUnschedulable
)
@ -1290,7 +1290,6 @@ func TestPodTopologySpreadFilter(t *testing.T) {
var (
hardSpread = v1.DoNotSchedule
softSpread = v1.ScheduleAnyway
)
func TestUnschedulablePodBecomesSchedulable(t *testing.T) {