Merge pull request #82222 from Huang-Wei/0-informer-sync-period

Set 0 sync period in scheduler integration test
This commit is contained in:
Kubernetes Prow Robot
2020-11-16 11:16:04 -08:00
committed by GitHub
7 changed files with 20 additions and 16 deletions

View File

@@ -149,7 +149,7 @@ func TestPreemption(t *testing.T) {
}
testCtx := testutils.InitTestSchedulerWithOptions(t,
testutils.InitTestMaster(t, "preemption", nil),
nil, time.Second,
nil,
scheduler.WithProfiles(prof),
scheduler.WithFrameworkOutOfTreeRegistry(registry))
testutils.SyncInformerFactory(testCtx)