From 799a196b47282e62b853d5e64f03ff7a354b6525 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 16 Mar 2017 09:54:26 +0100 Subject: [PATCH] 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 --- debian/changelog | 7 +++++ ..._server_connection_timeout_exception.patch | 27 +++++++++++++++++++ debian/patches/series | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 debian/patches/disable_test_server_connection_timeout_exception.patch diff --git a/debian/changelog b/debian/changelog index 152525c..00acdf3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 16 Mar 2017 09:48:32 +0100 + python-eventlet (0.19.0-5) unstable; urgency=medium * Team upload. diff --git a/debian/patches/disable_test_server_connection_timeout_exception.patch b/debian/patches/disable_test_server_connection_timeout_exception.patch new file mode 100644 index 0000000..76070c8 --- /dev/null +++ b/debian/patches/disable_test_server_connection_timeout_exception.patch @@ -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 +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) diff --git a/debian/patches/series b/debian/patches/series index 667ca81..463adae 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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