1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Subject: Increase write waiting time when testing
Bug: https://github.com/coreos/bbolt/issues/54
Bug-Debian: https://bugs.debian.org/832834
From: Shengjing Zhu <i@zhsj.me>
Date: Fri, 22 Sep 2017 23:28:00 +0800
---
db_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/db_test.go b/db_test.go
index 1a67e84..0fb9dc7 100644
--- a/db_test.go
+++ b/db_test.go
@@ -412,7 +412,7 @@ func TestDB_Open_InitialMmapSize(t *testing.T) {
}()
select {
- case <-time.After(5 * time.Second):
+ case <-time.After(180 * time.Second):
t.Errorf("unexpected that the reader blocks writer")
case <-done:
}
|