Merge pull request #93893 from alculquicondor/fix-scheduler-test

Sync cache before starting scheduler test
This commit is contained in:
Kubernetes Prow Robot
2020-08-11 15:31:46 -07:00
committed by GitHub

View File

@@ -522,6 +522,7 @@ func TestSchedulerMultipleProfilesScheduling(t *testing.T) {
// Run scheduler.
informerFactory.Start(ctx.Done())
informerFactory.WaitForCacheSync(ctx.Done())
go sched.Run(ctx)
// Send pods to be scheduled.