mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
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 (
|
||||
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…
Reference in New Issue
Block a user