mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46: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{})
|
||||
go func() {
|
||||
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")
|
||||
term()
|
||||
case <-testDone:
|
||||
|
|
|
|||
Loading…
Reference in a new issue