Set 0 sync period in scheduler integration test

This commit is contained in:
Wei Huang
2020-10-29 12:27:46 -07:00
parent dd45603707
commit 185093bd4e
7 changed files with 9 additions and 11 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)