Commit 434aa4ab authored by Jason Madden's avatar Jason Madden

Two test failures on travis I can't reproduce.

parent c21b0f86
......@@ -11,6 +11,7 @@ from greentest.sysinfo import RUNNING_ON_TRAVIS as TRAVIS
from greentest.sysinfo import RUN_LEAKCHECKS as LEAKTEST
from greentest.sysinfo import RUN_COVERAGE as COVERAGE
from greentest.sysinfo import RESOLVER_NOT_SYSTEM
from greentest.sysinfo import RESOLVER_DNSPYTHON
from greentest.sysinfo import PYPY
from greentest.sysinfo import PY3
......@@ -157,6 +158,13 @@ if PYPY:
'test__socket_dns.py',
]
if TRAVIS and RESOLVER_DNSPYTHON:
FAILING_TESTS += [
# This fails to get the correct results, sometimes. I can't reproduce locally
'FLAKY test__example_udp_server.py',
'FLAKY test__example_udp_client.py',
]
if PY3 and TRAVIS:
FAILING_TESTS += [
## ---
......
......@@ -17,7 +17,7 @@ class Test_udp_client(TestCase):
server = DatagramServer('127.0.0.1:9000', handle)
server.start()
try:
run([sys.executable, '-W', 'ignore' '-u', 'udp_client.py', 'Test_udp_client'],
run([sys.executable, '-W', 'ignore', '-u', 'udp_client.py', 'Test_udp_client'],
timeout=10, cwd='../../examples/')
finally:
server.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment