mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-24 07:28:27 +00:00
lib/model: Moar sleep
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3807
This commit is contained in:
parent
abb8a1914a
commit
542b76f687
@ -329,8 +329,8 @@ func TestWeakHash(t *testing.T) {
|
|||||||
select {
|
select {
|
||||||
case pull := <-pullChan:
|
case pull := <-pullChan:
|
||||||
pulls = append(pulls, pull)
|
pulls = append(pulls, pull)
|
||||||
case <-time.After(time.Second):
|
case <-time.After(10 * time.Second):
|
||||||
t.Error("timed out")
|
t.Errorf("timed out, got %d pulls expected %d", len(pulls), expectPulls)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
finish := <-finisherChan
|
finish := <-finisherChan
|
||||||
@ -357,8 +357,8 @@ func TestWeakHash(t *testing.T) {
|
|||||||
select {
|
select {
|
||||||
case pull := <-pullChan:
|
case pull := <-pullChan:
|
||||||
pulls = append(pulls, pull)
|
pulls = append(pulls, pull)
|
||||||
case <-time.After(time.Second):
|
case <-time.After(10 * time.Second):
|
||||||
t.Error("timed out")
|
t.Errorf("timed out, got %d pulls expected %d", len(pulls), expectPulls)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user