Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Lib/test/lock_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def f():
self.assertFalse(result[0])
lock.release()

@unittest.skip("TODO: RUSTPYTHON, sometimes hangs")
def test_acquire_contended(self):
lock = self.locktype()
lock.acquire()
Expand Down Expand Up @@ -160,6 +161,7 @@ def _with(err=None):
# Check the lock is unacquired
Bunch(f, 1).wait_for_finished()

@unittest.skip("TODO: RUSTPYTHON, sometimes hangs")
def test_thread_leak(self):
# The lock shouldn't leak a Thread instance when used from a foreign
# (non-threading) thread.
Expand Down
1 change: 1 addition & 0 deletions Lib/test/test_importlib/test_locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def f():
self.assertEqual(len(results), NTHREADS)
return results

@unittest.skip("TODO: RUSTPYTHON, sometimes hangs")
def test_deadlock(self):
results = self.run_deadlock_avoidance_test(True)
# At least one of the threads detected a potential deadlock on its
Expand Down