mirror of https://github.com/status-im/consul.git
add serf check to TestAPI_Snapshot
This commit is contained in:
parent
31af6be26a
commit
f98512f1a3
|
@ -11,6 +11,7 @@ func TestAPI_Snapshot(t *testing.T) {
|
|||
c, s := makeClient(t)
|
||||
defer s.Stop()
|
||||
|
||||
s.WaitForSerfCheck(t)
|
||||
// Place an initial key into the store.
|
||||
kv := c.KV()
|
||||
key := &KVPair{Key: testKey(), Value: []byte("hello")}
|
||||
|
|
Loading…
Reference in New Issue