mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
remove unused variables in test/integration/scheduler/filters/filters_test.go
This commit is contained in:
parent
46fc39f440
commit
6a0e55d124
@ -37,16 +37,16 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
createPausePod = testutils.CreatePausePod
|
|
||||||
initPausePod = testutils.InitPausePod
|
|
||||||
getPod = testutils.GetPod
|
|
||||||
deletePod = testutils.DeletePod
|
|
||||||
initTest = testutils.InitTestSchedulerWithNS
|
|
||||||
createAndWaitForNodesInCache = testutils.CreateAndWaitForNodesInCache
|
createAndWaitForNodesInCache = testutils.CreateAndWaitForNodesInCache
|
||||||
createNamespacesWithLabels = testutils.CreateNamespacesWithLabels
|
createNamespacesWithLabels = testutils.CreateNamespacesWithLabels
|
||||||
podUnschedulable = testutils.PodUnschedulable
|
|
||||||
createNode = testutils.CreateNode
|
createNode = testutils.CreateNode
|
||||||
|
createPausePod = testutils.CreatePausePod
|
||||||
|
deletePod = testutils.DeletePod
|
||||||
|
getPod = testutils.GetPod
|
||||||
|
initPausePod = testutils.InitPausePod
|
||||||
|
initTest = testutils.InitTestSchedulerWithNS
|
||||||
podScheduledIn = testutils.PodScheduledIn
|
podScheduledIn = testutils.PodScheduledIn
|
||||||
|
podUnschedulable = testutils.PodUnschedulable
|
||||||
waitForPodUnschedulable = testutils.WaitForPodUnschedulable
|
waitForPodUnschedulable = testutils.WaitForPodUnschedulable
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1290,7 +1290,6 @@ func TestPodTopologySpreadFilter(t *testing.T) {
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
hardSpread = v1.DoNotSchedule
|
hardSpread = v1.DoNotSchedule
|
||||||
softSpread = v1.ScheduleAnyway
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUnschedulablePodBecomesSchedulable(t *testing.T) {
|
func TestUnschedulablePodBecomesSchedulable(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user