]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
test: Add a timeout to SyncHTTPClient test
authorBen Darnell <ben@bendarnell.com>
Mon, 5 Oct 2020 13:39:41 +0000 (09:39 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 23 Oct 2020 15:54:47 +0000 (11:54 -0400)
tornado/test/httpclient_test.py

index f87f972ff37d79fb75799041f1426dd31d15be80..fd9a978640d88d1ee750bbee64b0e500f75aed59 100644 (file)
@@ -836,6 +836,7 @@ class SyncHTTPClientSubprocessTest(unittest.TestCase):
             stdout=subprocess.PIPE,
             stderr=subprocess.STDOUT,
             check=True,
+            timeout=5,
         )
         if proc.stdout:
             print("STDOUT:")