remove unnecessary new context
This commit is contained in:
parent
7d07249150
commit
1b50852b2d
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ func runUpdateVisibilityTest(t *testing.T, portVisibilities []portVisibility, ev
|
|||
case <-ctx.Done():
|
||||
return
|
||||
case conn := <-ch:
|
||||
_, _ = conn.DispatchCall(context.Background(), eventResponses[i], pd, nil)
|
||||
_, _ = conn.DispatchCall(ctx, eventResponses[i], pd, nil)
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue