|
15 | 15 | needs_osdup = py.test.mark.skipif("not hasattr(os, 'dup')")
|
16 | 16 |
|
17 | 17 |
|
| 18 | +flakytest = pytest.mark.xfail(reason='on some systems this test fails due to timing problems') |
18 | 19 | skip_win_pypy = pytest.mark.xfail(condition=hasattr(sys, 'pypy_version_info') and sys.platform.startswith('win'),
|
19 | 20 | reason='failing on Windows on PyPy (#63)')
|
20 | 21 |
|
@@ -76,6 +77,7 @@ def test_gateway_status_no_real_channel(self, gw):
|
76 | 77 | # closure of temporary channels
|
77 | 78 | assert numchan2 == numchan
|
78 | 79 |
|
| 80 | + @flakytest |
79 | 81 | def test_gateway_status_busy(self, gw):
|
80 | 82 | numchannels = gw.remote_status().numchannels
|
81 | 83 | ch1 = gw.remote_exec("channel.send(1); channel.receive()")
|
@@ -347,6 +349,7 @@ def test_threads_race_sending(self, makegateway):
|
347 | 349 | for ch in channels:
|
348 | 350 | ch.waitclose(TESTTIMEOUT)
|
349 | 351 |
|
| 352 | + @flakytest |
350 | 353 | def test_status_with_threads(self, makegateway):
|
351 | 354 | gw = makegateway('popen')
|
352 | 355 | c1 = gw.remote_exec("channel.send(1) ; channel.receive()")
|
@@ -391,6 +394,7 @@ def test_popen_filetracing(self, testdir, monkeypatch, makegateway):
|
391 | 394 | gw.exit()
|
392 | 395 |
|
393 | 396 | @skip_win_pypy
|
| 397 | + @flakytest |
394 | 398 | def test_popen_stderr_tracing(self, capfd, monkeypatch, makegateway):
|
395 | 399 | monkeypatch.setenv('EXECNET_DEBUG', "2")
|
396 | 400 | gw = makegateway("popen")
|
|
0 commit comments