|
17 | 17 | needs_osdup = py.test.mark.skipif("not hasattr(os, 'dup')")
|
18 | 18 |
|
19 | 19 |
|
| 20 | +flakytest = pytest.mark.xfail(reason='on some systems this test fails due to timing problems') |
20 | 21 | skip_win_pypy = pytest.mark.xfail(condition=hasattr(sys, 'pypy_version_info') and sys.platform.startswith('win'),
|
21 | 22 | reason='failing on Windows on PyPy (#63)')
|
22 | 23 |
|
@@ -78,6 +79,7 @@ def test_gateway_status_no_real_channel(self, gw):
|
78 | 79 | # closure of temporary channels
|
79 | 80 | assert numchan2 == numchan
|
80 | 81 |
|
| 82 | + @flakytest |
81 | 83 | def test_gateway_status_busy(self, gw):
|
82 | 84 | numchannels = gw.remote_status().numchannels
|
83 | 85 | ch1 = gw.remote_exec("channel.send(1); channel.receive()")
|
@@ -381,6 +383,7 @@ def test_threads_race_sending(self, makegateway):
|
381 | 383 | for ch in channels:
|
382 | 384 | ch.waitclose(TESTTIMEOUT)
|
383 | 385 |
|
| 386 | + @flakytest |
384 | 387 | def test_status_with_threads(self, makegateway):
|
385 | 388 | gw = makegateway('popen')
|
386 | 389 | c1 = gw.remote_exec("channel.send(1) ; channel.receive()")
|
@@ -425,6 +428,7 @@ def test_popen_filetracing(self, testdir, monkeypatch, makegateway):
|
425 | 428 | gw.exit()
|
426 | 429 |
|
427 | 430 | @skip_win_pypy
|
| 431 | + @flakytest |
428 | 432 | def test_popen_stderr_tracing(self, capfd, monkeypatch, makegateway):
|
429 | 433 | monkeypatch.setenv('EXECNET_DEBUG', "2")
|
430 | 434 | gw = makegateway("popen")
|
|
0 commit comments