Skip to content

Commit 08b74d0

Browse files
committed
Disabling flaky test_pthread_cond_signal_1_1
test_pthread_cond_signal_1_1 has very tight timing requirements, and expects that side threads will be woken and do some action in very short time. This causes occasional spurious fail of this test not because side thread(s) hasn't been woken by pthread_cond_signal, but because this threads hasn't been scheduled and hasn't get CPU on time. See #13283
1 parent 9feb504 commit 08b74d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_posixtest.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,16 @@ def get_pthread_tests():
135135
'test_pthread_spin_lock_3_1': 'signals are not supported',
136136
}
137137

138+
# Mark certain tests as flaky, which may sometimes fail.
139+
# TODO invesigate these tests.
140+
flaky = {
141+
'test_pthread_cond_signal_1_1': 'flaky: https://github.com/emscripten-core/emscripten/issues/13283',
142+
}
143+
138144
# Mark certain tests as not passing
139145
disabled = {
140146
**unsupported,
147+
**flaky,
141148
'test_pthread_create_11_1': 'never returns',
142149
'test_pthread_barrier_wait_2_1': 'never returns',
143150
'test_pthread_cond_timedwait_2_6': 'never returns',

0 commit comments

Comments
 (0)