Skip to content

Commit f287bc2

Browse files
authored
Merge pull request kubernetes#130115 from danmillwood/danmillwood-dispatcher-test-patch
Fix intermittent failure in TestDispatcher test
2 parents 3b6596d + b9cd017 commit f287bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/mutating/dispatcher_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ func TestDispatcher(t *testing.T) {
656656
if err != nil {
657657
t.Fatal(err)
658658
}
659-
informerFactory.WaitForCacheSync(ctx.Done())
660659
informerFactory.Start(ctx.Done())
660+
informerFactory.WaitForCacheSync(ctx.Done())
661661
for i, h := range tc.policyHooks {
662662
tc.policyHooks[i].ParamInformer = paramInformer
663663
tc.policyHooks[i].ParamScope = testParamScope{}

0 commit comments

Comments
 (0)