diff --git a/connection/http2_test.go b/connection/http2_test.go index dcf97ff2..ce182a69 100644 --- a/connection/http2_test.go +++ b/connection/http2_test.go @@ -514,7 +514,7 @@ func TestGracefulShutdownHTTP2(t *testing.T) { cancel() 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) events.assertSawEvent(t, Event{