mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Sync cache before starting scheduler test
Signed-off-by: Aldo Culquicondor <acondor@google.com> Change-Id: I9629e1d6d510607b505b0302e23d67e0ae4a662e
This commit is contained in:
parent
eb8b5a9854
commit
24f817a487
@ -480,6 +480,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