Improve TestGracefulShutdownHTTP2 comment
This commit is contained in:
parent
c1cef806a5
commit
e4105f662c
|
@ -514,7 +514,7 @@ func TestGracefulShutdownHTTP2(t *testing.T) {
|
||||||
cancel()
|
cancel()
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
|
||||||
// give up CPU for a bit to let Observer.dispatchEvents propagate tunnel events
|
// give up CPU for a bit to let Observer.dispatchEvents() propagate tunnel events
|
||||||
time.Sleep(300 * time.Millisecond)
|
time.Sleep(300 * time.Millisecond)
|
||||||
|
|
||||||
events.assertSawEvent(t, Event{
|
events.assertSawEvent(t, Event{
|
||||||
|
|
Loading…
Reference in New Issue