add serf check to TestAPI_Snapshot

This commit is contained in:
Alvin Huang 2019-02-22 10:19:19 -05:00
parent 31af6be26a
commit f98512f1a3
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")}