From: Ben Darnell Date: Mon, 5 Oct 2020 13:39:41 +0000 (-0400) Subject: test: Add a timeout to SyncHTTPClient test X-Git-Tag: v6.1.0b2~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c938ddba666980c56d863a190430d04f8b1a363a;p=thirdparty%2Ftornado.git test: Add a timeout to SyncHTTPClient test --- diff --git a/tornado/test/httpclient_test.py b/tornado/test/httpclient_test.py index f87f972ff..fd9a97864 100644 --- a/tornado/test/httpclient_test.py +++ b/tornado/test/httpclient_test.py @@ -836,6 +836,7 @@ class SyncHTTPClientSubprocessTest(unittest.TestCase): stdout=subprocess.PIPE, stderr=subprocess.STDOUT, check=True, + timeout=5, ) if proc.stdout: print("STDOUT:")