mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-09 14:41:02 +00:00
add AwaitState to test which re-opens node
This commit is contained in:
parent
26176c15eb
commit
4811958de4
1 changed files with 4 additions and 0 deletions
|
|
@ -3554,6 +3554,10 @@ func TestExecutor_Execute_Existence(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if err := c.AwaitState(string(pilosa.ClusterStateNormal), 10*time.Second); err != nil {
|
||||
t.Fatalf("restarting cluster: %v", err)
|
||||
}
|
||||
|
||||
hldr2 := c.GetHolder(0)
|
||||
index2 := hldr2.Index("i")
|
||||
_ = index2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue