mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Co-authored-by: Brandon Liu <lzqcn2000@126.com>
This commit is contained in:
parent
1dd15812f3
commit
aa75ed2f6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue