diff --git a/lib/model/rwfolder_test.go b/lib/model/rwfolder_test.go index 50c58fed..708c5342 100644 --- a/lib/model/rwfolder_test.go +++ b/lib/model/rwfolder_test.go @@ -329,8 +329,8 @@ func TestWeakHash(t *testing.T) { select { case pull := <-pullChan: pulls = append(pulls, pull) - case <-time.After(time.Second): - t.Error("timed out") + case <-time.After(10 * time.Second): + t.Errorf("timed out, got %d pulls expected %d", len(pulls), expectPulls) } } finish := <-finisherChan @@ -357,8 +357,8 @@ func TestWeakHash(t *testing.T) { select { case pull := <-pullChan: pulls = append(pulls, pull) - case <-time.After(time.Second): - t.Error("timed out") + case <-time.After(10 * time.Second): + t.Errorf("timed out, got %d pulls expected %d", len(pulls), expectPulls) } }