14
0
Files
python-tornado6/tornado-testsuite_timeout.patch

21 lines
678 B
Diff
Raw Normal View History

--- tornado-6.0.3/tornado/test/testing_test.py 2018/03/16 13:18:44 1.1
+++ tornado-6.0.3/tornado/test/testing_test.py 2018/03/16 13:18:56
@@ -54,7 +54,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)
class LeakTest(AsyncTestCase):
@@ -262,7 +262,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):
yield gen.sleep(0.25)