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:
 	}
