add serf check to TestAPI_Snapshot

This commit is contained in:
Alvin Huang 2019-02-22 10:19:19 -05:00
parent 255e6c6087
commit 9ccaa7f0ca
1 changed files with 1 additions and 0 deletions

View File

@ -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")}