rpc: increase timeout in TestClientWebsocketPing (#28371)

pull/28381/head
Brandon Liu 1 year ago committed by GitHub
parent d10a2f6ab7
commit ec1a0502bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      rpc/websocket_test.go

@ -215,7 +215,7 @@ func TestClientWebsocketPing(t *testing.T) {
var (
sendPing = make(chan struct{})
server = wsPingTestServer(t, sendPing)
ctx, cancel = context.WithTimeout(context.Background(), 1*time.Second)
ctx, cancel = context.WithTimeout(context.Background(), 2*time.Second)
)
defer cancel()
defer server.Shutdown(ctx)

Loading…
Cancel
Save