Add sleep in tests to ensure writes make it to translate store

This commit is contained in:
Cody Soyland 2018-07-31 14:11:24 -05:00
parent be60a91a58
commit 39a82091f2

View file

@ -48,6 +48,9 @@ func TestTranslateStore_Reader(t *testing.T) {
t.Fatal(err)
}
// Wait to ensure writes make it to translate store
time.Sleep(100 * time.Millisecond)
// Connect to server and stream all available data.
store := http.NewTranslateStore(primary.URL())