1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
From: aviau <alexandre@alexandreviau.net>
Date: Thu, 4 Jul 2019 10:58:39 -0400
Subject: [PATCH] requests_test: wait longer
Forwarded: not-needed
Last-Update: 2024-02-10
---
lib/model/requests_test.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/lib/model/requests_test.go
+++ b/lib/model/requests_test.go
@@ -209,7 +209,7 @@ func TestRequestCreateTmpSymlink(t *test
select {
case <-goodIdx:
- case <-time.After(3 * time.Second):
+ case <-time.After(30 * time.Second):
t.Fatal("Timed out without index entry being sent")
}
}
@@ -286,7 +286,7 @@ func pullInvalidIgnored(t *testing.T, ft
select {
case ev := <-sub.C():
t.Fatalf("Errors while scanning/pulling: %v", ev)
- case <-time.After(5 * time.Second):
+ case <-time.After(30 * time.Second):
t.Fatalf("timed out before index was received")
case <-done:
}
@@ -1049,7 +1049,7 @@ func TestIgnoreDeleteUnignore(t *testing
}
select {
- case <-time.After(5 * time.Second):
+ case <-time.After(30 * time.Second):
t.Fatalf("timed out before index was received")
case <-done:
}
|