1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: =?utf-8?b?T25kxZllaiBOb3bDvQ==?= <onovy@debian.org>
Date: Thu, 2 Apr 2020 09:40:41 +0000
Subject: Set timeout in test_gc to higher value
Forwarded: not-needed
---
tornado/test/gen_test.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- python-tornado.orig/tornado/test/gen_test.py
+++ python-tornado/tornado/test/gen_test.py
@@ -967,7 +967,10 @@
self.io_loop.add_callback(callback)
yield fut
- yield gen.with_timeout(datetime.timedelta(seconds=0.2), tester())
+ yield gen.with_timeout(
+ datetime.timedelta(seconds=1),
+ tester()
+ )
def test_gc_infinite_coro(self):
# GitHub issue 2229: suspended coroutines should be GCed when
|