rpc: increase timeout in TestClientWebsocketPing (#28371)

This commit is contained in:
Brandon Liu authored and GitHub committed 2023-10-19 10:08:36 +02:00
1 parent d10a2f6ab7
commit ec1a0502bf
1 file changed
+1 -1
+1 -1
View File
@@ -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)