mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
eth/protocols/snap: revert change to test time
This commit is contained in:
parent
55190c9e99
commit
84d2e2289d
1 changed files with 1 additions and 1 deletions
|
|
@ -948,7 +948,7 @@ func checkStall(t *testing.T, term func()) chan struct{} {
|
||||||
testDone := make(chan struct{})
|
testDone := make(chan struct{})
|
||||||
go func() {
|
go func() {
|
||||||
select {
|
select {
|
||||||
case <-time.After(10 * time.Second): // shortened to reduce test runtime
|
case <-time.After(time.Minute): // TODO(karalabe): Make tests smaller, this is too much
|
||||||
t.Log("Sync stalled")
|
t.Log("Sync stalled")
|
||||||
term()
|
term()
|
||||||
case <-testDone:
|
case <-testDone:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue