Merge pull request #93893 from alculquicondor/fix-scheduler-test
Sync cache before starting scheduler test
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user