Skip to content

Commit ec1a050

Browse files
authored
rpc: increase timeout in TestClientWebsocketPing (#28371)
1 parent d10a2f6 commit ec1a050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/websocket_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func TestClientWebsocketPing(t *testing.T) {
215215
var (
216216
sendPing = make(chan struct{})
217217
server = wsPingTestServer(t, sendPing)
218-
ctx, cancel = context.WithTimeout(context.Background(), 1*time.Second)
218+
ctx, cancel = context.WithTimeout(context.Background(), 2*time.Second)
219219
)
220220
defer cancel()
221221
defer server.Shutdown(ctx)

0 commit comments

Comments
 (0)