rpc: increase timeout in TestClientWebsocketPing (#28371)
This commit is contained in:
parent
d10a2f6ab7
commit
ec1a0502bf
@ -215,7 +215,7 @@ func TestClientWebsocketPing(t *testing.T) {
|
|||||||
var (
|
var (
|
||||||
sendPing = make(chan struct{})
|
sendPing = make(chan struct{})
|
||||||
server = wsPingTestServer(t, sendPing)
|
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 cancel()
|
||||||
defer server.Shutdown(ctx)
|
defer server.Shutdown(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user