mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-19 08:40:42 +00:00
Merge pull request #93893 from alculquicondor/fix-scheduler-test
Sync cache before starting scheduler test
This commit is contained in:
commit
4750523bac
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user