diff --git a/api/lock_test.go b/api/lock_test.go index 1996b29963..f4bad9e6b8 100644 --- a/api/lock_test.go +++ b/api/lock_test.go @@ -57,7 +57,7 @@ func TestLock_LockUnlock(t *testing.T) { t.Fatalf("err: %v", err) } - // Should loose leadership + // Should lose leadership select { case <-leaderCh: case <-time.After(time.Second):