sleep hack

pull/1909/head
Joseph Rothrock 2015-03-17 15:48:54 -07:00
parent 40afc9fd09
commit 91014def56
1 changed files with 1 additions and 0 deletions

View File

@ -1158,6 +1158,7 @@ func TestHandler_serveDump(t *testing.T) {
t.Fatalf("unexpected status for get: %d", status)
}
time.Sleep(500 * time.Millisecond) // Shouldn't committed data be readable?
query = map[string]string{"db": "foo"}
status, body = MustHTTP("GET", s.URL+`/dump`, query, nil, "")
if status != http.StatusOK {