mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 06:31:02 +00:00
Add sleep in tests to ensure writes make it to translate store
This commit is contained in:
parent
be60a91a58
commit
39a82091f2
1 changed files with 3 additions and 0 deletions
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue