Hello community,

here is the log from the commit of package python-tornado for openSUSE:Factory 
checked in at 2018-03-24 16:05:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tornado (Old)
 and      /work/SRC/openSUSE:Factory/.python-tornado.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tornado"

Sat Mar 24 16:05:41 2018 rev:46 rq:587929 version:4.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tornado/python-tornado.changes    
2018-03-12 12:06:10.691375488 +0100
+++ /work/SRC/openSUSE:Factory/.python-tornado.new/python-tornado.changes       
2018-03-24 16:05:43.768370988 +0100
@@ -1,0 +2,6 @@
+Fri Mar 16 14:46:55 CET 2018 - [email protected]
+
+- add tornado-testsuite_timeout.patch (bsc#1085661)
+  extend timeouts in testsuite to allow successful build on ppc64le
+
+-------------------------------------------------------------------

New:
----
  tornado-testsuite_timeout.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tornado.spec ++++++
--- /var/tmp/diff_new_pack.JiSZeB/_old  2018-03-24 16:05:45.224318503 +0100
+++ /var/tmp/diff_new_pack.JiSZeB/_new  2018-03-24 16:05:45.224318503 +0100
@@ -27,6 +27,7 @@
 Url:            http://www.tornadoweb.org
 Source:         
https://files.pythonhosted.org/packages/source/t/tornado/tornado-%{version}.tar.gz
 Patch0:         tornado-async-deprecations.patch
+Patch1:         tornado-testsuite_timeout.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pycurl}
 BuildRequires:  %{python_module setuptools}
@@ -84,6 +85,7 @@
 # Fix non-executable script rpmlint issue:
 find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
 %patch0 -p1
+%patch1 -p1
 
 %pre
 # remove egg-info _file_, being replaced by an egg-info directory

++++++ tornado-testsuite_timeout.patch ++++++
--- tornado-4.5.3/tornado/test/simple_httpclient_test.py        2018/03/16 
13:18:41     1.1
+++ tornado-4.5.3/tornado/test/simple_httpclient_test.py        2018/03/16 
13:41:14
@@ -239,7 +239,7 @@
     @skipOnTravis
     def test_connect_timeout(self):
         timeout = 0.1
-        timeout_min, timeout_max = 0.099, 1.0
+        timeout_min, timeout_max = 0.099, 3.0
 
         class TimeoutResolver(Resolver):
             def resolve(self, *args, **kwargs):
@@ -257,7 +257,7 @@
     @skipOnTravis
     def test_request_timeout(self):
         timeout = 0.1
-        timeout_min, timeout_max = 0.099, 0.15
+        timeout_min, timeout_max = 0.099, 0.25
         if os.name == 'nt':
             timeout = 0.5
             timeout_min, timeout_max = 0.4, 0.6
@@ -360,7 +360,7 @@
             response = self.wait()
 
             self.assertEqual(response.code, 599)
-            self.assertTrue(response.request_time < 1, response.request_time)
+            self.assertTrue(response.request_time < 2.5, response.request_time)
             self.assertEqual(str(response.error), "HTTP 599: Timeout in 
request queue")
             self.triggers.popleft()()
             self.wait()
--- tornado-4.5.3/tornado/test/testing_test.py  2018/03/16 13:18:44     1.1
+++ tornado-4.5.3/tornado/test/testing_test.py  2018/03/16 13:18:56
@@ -61,7 +61,7 @@
         self.io_loop.add_timeout(self.io_loop.time() + 0.00, self.stop)
         self.wait(timeout=0.02)
         self.io_loop.add_timeout(self.io_loop.time() + 0.03, self.stop)
-        self.wait(timeout=0.15)
+        self.wait(timeout=0.25)
 
     def test_multiple_errors(self):
         def fail(message):
@@ -206,7 +206,7 @@
         self.finished = True
 
     def test_timeout_environment_variable(self):
-        @gen_test(timeout=0.5)
+        @gen_test(timeout=0.9)
         def test_long_timeout(self):
             time = self.io_loop.time
             yield gen.Task(self.io_loop.add_timeout, time() + 0.25)

Reply via email to