Fixes a typo.
This commit is contained in:
parent
268255dcbe
commit
e4b89bfa9f
|
@ -57,7 +57,7 @@ func TestLock_LockUnlock(t *testing.T) {
|
||||||
t.Fatalf("err: %v", err)
|
t.Fatalf("err: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Should loose leadership
|
// Should lose leadership
|
||||||
select {
|
select {
|
||||||
case <-leaderCh:
|
case <-leaderCh:
|
||||||
case <-time.After(time.Second):
|
case <-time.After(time.Second):
|
||||||
|
|
Loading…
Reference in New Issue