Commit e9897097 authored by Shengjing Zhu's avatar Shengjing Zhu

Add patch to increase waiting time (Closes: #832834)

Signed-off-by: Shengjing Zhu's avatarShengjing Zhu <i@zhsj.me>
parent a448df5c
From: Shengjing Zhu <i@zhsj.me>
Date: Fri, 22 Sep 2017 23:28:00 +0800
Subject: Increase write waiting time when testing
Forwarded: no, upstream is inactive
Signed-off-by: Shengjing Zhu <i@zhsj.me>
---
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:
}
Bug#849663_Fix_32bit_failures.patch
0002-Increase-write-waiting-time-when-testing.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment