reset testLockHook

pull/16289/head
James Bardin 9 years ago
parent 25a8227291
commit f5e9a20c66

@ -176,6 +176,7 @@ func TestConsul_lostLock(t *testing.T) {
reLocked := make(chan struct{})
testLockHook = func() {
close(reLocked)
testLockHook = nil
}
// now we use the second client to break the lock

Loading…
Cancel
Save