File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ def f():
128128 self .assertFalse (result [0 ])
129129 lock .release ()
130130
131+ @unittest .skip ("TODO: RUSTPYTHON, sometimes hangs" )
131132 def test_acquire_contended (self ):
132133 lock = self .locktype ()
133134 lock .acquire ()
@@ -160,6 +161,7 @@ def _with(err=None):
160161 # Check the lock is unacquired
161162 Bunch (f , 1 ).wait_for_finished ()
162163
164+ @unittest .skip ("TODO: RUSTPYTHON, sometimes hangs" )
163165 def test_thread_leak (self ):
164166 # The lock shouldn't leak a Thread instance when used from a foreign
165167 # (non-threading) thread.
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ def f():
8787 self .assertEqual (len (results ), NTHREADS )
8888 return results
8989
90+ @unittest .skip ("TODO: RUSTPYTHON, sometimes hangs" )
9091 def test_deadlock (self ):
9192 results = self .run_deadlock_avoidance_test (True )
9293 # At least one of the threads detected a potential deadlock on its
You can’t perform that action at this time.
0 commit comments