summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/rwmutex_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sync/rwmutex_test.go')
-rw-r--r--pkg/sync/rwmutex_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sync/rwmutex_test.go b/pkg/sync/rwmutex_test.go
index 5ca96d12b..56a88e712 100644
--- a/pkg/sync/rwmutex_test.go
+++ b/pkg/sync/rwmutex_test.go
@@ -172,7 +172,7 @@ func TestRWTryLockUnlock(t *testing.T) {
if !rwm.TryLock() {
t.Fatal("failed to aquire lock")
}
- rwm.Unlock()
+ rwm.Unlock() // +checklocksforce
if !rwm.TryLock() {
t.Fatal("failed to aquire lock after unlock")
}