Skip to content

Commit 412f88e

Browse files
ayaka14732Google-ML-Automation
authored andcommitted
Temporarily skip JaxNumpyErrorTests in multi-thread environments
PiperOrigin-RevId: 744712701
1 parent 70485e3 commit 412f88e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/jax_numpy_error_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030

3131

3232
class JaxNumpyErrorTests(jtu.JaxTestCase):
33+
def setUp(self):
34+
# TODO(b/408148001): Fix thread safety issue.
35+
if jtu.TEST_NUM_THREADS.value > 1:
36+
self.skipTest("Test does not work with multiple threads")
37+
super().setUp()
38+
3339
@parameterized.product(jit=[True, False])
3440
def test_set_error_if_nan(self, jit):
3541
def f(x):

0 commit comments

Comments
 (0)