mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
adjust test to allow time for translation replication
This commit is contained in:
parent
2f892e5e80
commit
1deb42a24a
1 changed files with 5 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ import (
|
|||
gohttp "net/http"
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"github.com/pilosa/pilosa"
|
||||
|
|
@ -355,6 +356,10 @@ func TestClient_ImportKeys(t *testing.T) {
|
|||
}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
// Wait for translation replication.
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
cmd1.MustRecalculateCaches(t)
|
||||
resp := cmd1.MustQuery(t, &pilosa.QueryRequest{
|
||||
Index: "keyed",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue