mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
fix potential deadlock
This commit is contained in:
parent
359b722c19
commit
afb0023ab3
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ func TestServiceAccountCreation(t *testing.T) {
|
|||
saStore := saInformer.Informer().GetStore()
|
||||
nsStore := nsInformer.Informer().GetStore()
|
||||
|
||||
syncCalls := make(chan struct{})
|
||||
syncCalls := make(chan struct{}, 1)
|
||||
controller.syncHandler = func(ctx context.Context, key string) error {
|
||||
err := controller.syncNamespace(ctx, key)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue