1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
From 9b3a864614dd2f88157b6e10ed6dc48436c3559d Mon Sep 17 00:00:00 2001
From: Thomas Goirand <zigo@debian.org>
Date: Fri, 4 Aug 2017 21:47:23 +0200
Subject: Disable test_server_connection_timeout_exception()
As per the bug report, the test is non-deterministic. Therefore,
remove it it.
Bug-Debian: https://bugs.debian.org/857893
Forwarded: no
Last-Update: 2017-03-16
---
tests/wsgi_test.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: python-eventlet/tests/wsgi_test.py
===================================================================
--- python-eventlet.orig/tests/wsgi_test.py
+++ python-eventlet/tests/wsgi_test.py
@@ -1772,12 +1772,12 @@ class TestHttpd(_TestBase):
request_thread.wait()
server_sock.close()
- def test_server_connection_timeout_exception(self):
- self.reset_timeout(5)
- # 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):
+# self.reset_timeout(5)
+# # 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)
|