mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Add more time to sleep in translator tests due to CI failures
This commit is contained in:
parent
5802ba37b2
commit
c44bb65163
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ func TestTranslateStore_Reader(t *testing.T) {
|
|||
store := http.NewTranslateStore(primary.URL())
|
||||
|
||||
// Wait to ensure writes make it to translate store
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
rc, err := store.Reader(context.Background(), 11) // offset=11 skips the first entry: \n\x01\x01i\x00\x01\x01\x03foo
|
||||
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ func TestClusterTranslator(t *testing.T) {
|
|||
test.MustDo("POST", cluster[0].URL()+"/index/i0/query", "Set(\"foo\", f0=\"bar\")")
|
||||
|
||||
// wait for key to replicate to second node
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
result0 := test.MustDo("POST", cluster[0].URL()+"/index/i0/query", "Row(f0=\"bar\")").Body
|
||||
result1 := test.MustDo("POST", cluster[1].URL()+"/index/i0/query", "Row(f0=\"bar\")").Body
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue