add serf check to TestAPI_SemaphoreConflict

This commit is contained in:
Alvin Huang 2019-02-22 10:20:08 -05:00
parent 9ccaa7f0ca
commit 6617785b33
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ func TestAPI_SemaphoreConflict(t *testing.T) {
c, s := makeClient(t)
defer s.Stop()
s.WaitForSerfCheck(t)
lock, session := createTestLock(t, c, "test/sema/.lock")
defer session.Destroy(lock.opts.Session, nil)