add serf check to TestAPI_SemaphoreConflict
This commit is contained in:
parent
9ccaa7f0ca
commit
6617785b33
|
@ -296,6 +296,7 @@ func TestAPI_SemaphoreConflict(t *testing.T) {
|
||||||
c, s := makeClient(t)
|
c, s := makeClient(t)
|
||||||
defer s.Stop()
|
defer s.Stop()
|
||||||
|
|
||||||
|
s.WaitForSerfCheck(t)
|
||||||
lock, session := createTestLock(t, c, "test/sema/.lock")
|
lock, session := createTestLock(t, c, "test/sema/.lock")
|
||||||
defer session.Destroy(lock.opts.Session, nil)
|
defer session.Destroy(lock.opts.Session, nil)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue