mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
Update sync_test.go
This commit is contained in:
parent
10421edf3e
commit
a3bc6ee47b
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(time.Minute): // TODO(karalabe): Make tests smaller, this is too much
|
||||
case <-time.After(10 * time.Second): // shortened to reduce test runtime
|
||||
t.Log("Sync stalled")
|
||||
term()
|
||||
case <-testDone:
|
||||
|
|
|
|||
Loading…
Reference in a new issue