add serf check to TestAPI_SemaphoreConflict

This commit is contained in:
Alvin Huang 2019-02-21 20:03:05 -05:00
parent c23eb91262
commit fe7b841e4a

View File

@ -295,6 +295,7 @@ func TestAPI_SemaphoreConflict(t *testing.T) {
t.Parallel()
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)