test_request_garbage is flaky when running with xdist
Example failure: https://travis-ci.org/pytest-dev/pytest/jobs/441305926#L545
This commit is contained in:
@@ -494,6 +494,12 @@ class TestRequestBasic(object):
|
||||
reason="this method of test doesn't work on pypy",
|
||||
)
|
||||
def test_request_garbage(self, testdir):
|
||||
try:
|
||||
import xdist # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
pytest.xfail("this test is flaky when executed with xdist")
|
||||
testdir.makepyfile(
|
||||
"""
|
||||
import sys
|
||||
|
||||
Reference in New Issue
Block a user