Skip to content

Commit e450f74

Browse files
committed
Merge remote-tracking branch 'upstream/master' into joaoe/add-stacktraces-101
2 parents 2f4c7ed + 8cae029 commit e450f74

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

testing/test_gateway.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
needs_osdup = py.test.mark.skipif("not hasattr(os, 'dup')")
1818

1919

20+
flakytest = pytest.mark.xfail(reason='on some systems this test fails due to timing problems')
2021
skip_win_pypy = pytest.mark.xfail(condition=hasattr(sys, 'pypy_version_info') and sys.platform.startswith('win'),
2122
reason='failing on Windows on PyPy (#63)')
2223

@@ -78,6 +79,7 @@ def test_gateway_status_no_real_channel(self, gw):
7879
# closure of temporary channels
7980
assert numchan2 == numchan
8081

82+
@flakytest
8183
def test_gateway_status_busy(self, gw):
8284
numchannels = gw.remote_status().numchannels
8385
ch1 = gw.remote_exec("channel.send(1); channel.receive()")
@@ -381,6 +383,7 @@ def test_threads_race_sending(self, makegateway):
381383
for ch in channels:
382384
ch.waitclose(TESTTIMEOUT)
383385

386+
@flakytest
384387
def test_status_with_threads(self, makegateway):
385388
gw = makegateway('popen')
386389
c1 = gw.remote_exec("channel.send(1) ; channel.receive()")
@@ -425,6 +428,7 @@ def test_popen_filetracing(self, testdir, monkeypatch, makegateway):
425428
gw.exit()
426429

427430
@skip_win_pypy
431+
@flakytest
428432
def test_popen_stderr_tracing(self, capfd, monkeypatch, makegateway):
429433
monkeypatch.setenv('EXECNET_DEBUG', "2")
430434
gw = makegateway("popen")

testing/test_xspec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def test_popen_default(self, makegateway):
125125
assert rinfo.version_info == sys.version_info
126126

127127
@pytest.mark.skipif("not hasattr(os, 'nice')")
128+
@pytest.mark.xfail(reason='fails due to timing problems on busy single-core VMs')
128129
def test_popen_nice(self, makegateway):
129130
gw = makegateway("popen")
130131

0 commit comments

Comments
 (0)