diff --git a/test/ganeti.locking_unittest.py b/test/ganeti.locking_unittest.py
index 89470934a4dad5a573057313af5873a2339b7338..9e99ab17bab1acf0d3e5374d427d146ec17e0025 100755
--- a/test/ganeti.locking_unittest.py
+++ b/test/ganeti.locking_unittest.py
@@ -104,9 +104,8 @@ class TestSharedLock(unittest.TestCase):
 
   def _doItDelete(self):
     try:
-      self.sl.acquire()
+      self.sl.delete()
       self.done.put('DEL')
-      self.sl.release()
     except errors.LockError:
       self.done.put('ERR')