Disable randomly failing test

* Disable test_server_connection_timeout_exception, as it has been reported
    that it isn't deterministric and FTBFS randomly (Closes: #857893).

Change-Id: Ie86300aff8ac6f94c7d307c5af3ef6ff9a997c21
This commit is contained in:
Thomas Goirand 2017-03-16 09:54:26 +01:00
parent d40caf5c84
commit 799a196b47
3 changed files with 36 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
python-eventlet (0.19.0-6) unstable; urgency=medium
* Disable test_server_connection_timeout_exception, as it has been reported
that it isn't deterministric and FTBFS randomly (Closes: #857893).
-- Thomas Goirand <zigo@debian.org> Thu, 16 Mar 2017 09:48:32 +0100
python-eventlet (0.19.0-5) unstable; urgency=medium
* Team upload.

View File

@ -0,0 +1,27 @@
Description: Disable test_server_connection_timeout_exception()
As per the bug report, the test is non-deterministic. Therefore,
remove it it.
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/857893
Forwarded: no
Last-Update: 2017-03-16
--- python-eventlet-0.19.0.orig/tests/wsgi_test.py
+++ python-eventlet-0.19.0/tests/wsgi_test.py
@@ -1464,11 +1464,11 @@ class TestHttpd(_TestBase):
request_thread.wait()
server_sock.close()
- def test_server_connection_timeout_exception(self):
- # Handle connection socket timeouts
- # https://bitbucket.org/eventlet/eventlet/issue/143/
- # Runs tests.wsgi_test_conntimeout in a separate process.
- tests.run_isolated('wsgi_connection_timeout.py')
+# def test_server_connection_timeout_exception(self):
+# # Handle connection socket timeouts
+# # https://bitbucket.org/eventlet/eventlet/issue/143/
+# # Runs tests.wsgi_test_conntimeout in a separate process.
+# tests.run_isolated('wsgi_connection_timeout.py')
def test_server_socket_timeout(self):
self.spawn_server(socket_timeout=0.1)

View File

@ -7,3 +7,5 @@ greendns_tests_fix.patch
remove-test_import_patched_defaults.patch
patch-out-intersphinx.patch
fix-FTBFS-test_getaddrinfo.patch
remove-udp-tests-in-greendns-tests.patch
disable_test_server_connection_timeout_exception.patch