mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +00:00
Merge pull request #130115 from danmillwood/danmillwood-dispatcher-test-patch
Fix intermittent failure in TestDispatcher test
This commit is contained in:
@@ -656,8 +656,8 @@ func TestDispatcher(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
informerFactory.WaitForCacheSync(ctx.Done())
|
||||
informerFactory.Start(ctx.Done())
|
||||
informerFactory.WaitForCacheSync(ctx.Done())
|
||||
for i, h := range tc.policyHooks {
|
||||
tc.policyHooks[i].ParamInformer = paramInformer
|
||||
tc.policyHooks[i].ParamScope = testParamScope{}
|
||||
|
Reference in New Issue
Block a user