mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
rpc: increase timeout in test to 3 seconds
This commit is contained in:
parent
8d3cfda111
commit
e41535670c
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ func TestUnsubscribeTimeout(t *testing.T) {
|
||||||
// test is considered failed.
|
// test is considered failed.
|
||||||
select {
|
select {
|
||||||
case <-done:
|
case <-done:
|
||||||
case <-time.After(unsubscribeTimeout + 50*time.Millisecond):
|
case <-time.After(unsubscribeTimeout + 3*time.Second):
|
||||||
t.Fatalf("Unsubscribe did not return within %s", unsubscribeTimeout)
|
t.Fatalf("Unsubscribe did not return within %s", unsubscribeTimeout)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue