Merge pull request #4731 from xiang90/backend

backend: fix TestBackendClose by giving more time to wait for io
This commit is contained in:
Xiang Li 2016-03-09 10:12:20 -08:00
commit 73c8dbd459

View File

@ -39,8 +39,8 @@ func TestBackendClose(t *testing.T) {
}() }()
select { select {
case <-done: case <-done:
case <-time.After(time.Second): case <-time.After(10 * time.Second):
t.Errorf("failed to close database in 1s") t.Errorf("failed to close database in 10s")
} }
} }