From 8ab8bdda53d3cda554b78fb42d78347bcc89665b Mon Sep 17 00:00:00 2001 From: Alvin Huang Date: Thu, 21 Feb 2019 20:03:05 -0500 Subject: [PATCH] add serf check to TestAPI_SemaphoreConflict --- api/semaphore_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/semaphore_test.go b/api/semaphore_test.go index b2ec954ed..0b88e8b25 100644 --- a/api/semaphore_test.go +++ b/api/semaphore_test.go @@ -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)