]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
test: Reduce the size of a test to avoid timeouts
authorBen Darnell <ben@bendarnell.com>
Wed, 11 Jul 2018 00:31:29 +0000 (20:31 -0400)
committerBen Darnell <ben@bendarnell.com>
Wed, 11 Jul 2018 01:13:51 +0000 (21:13 -0400)
This test times out in SSL mode on Python 3.7 64-bit on windows on
appveyor (but 32-bit and older pythons are fine)

tornado/test/iostream_test.py

index abdd6b99eb047886d2c5642244ce8a6fffb4c019..51fbb02a99c7a0f3116e9ea19e3b7f68e323ec85 100644 (file)
@@ -1028,7 +1028,7 @@ class TestIOStreamMixin(TestReadWriteMixin):
         """
         # Run concurrent writers that will write enough bytes so as to
         # clog the socket buffer and accumulate bytes in our write buffer.
-        m, n = 10000, 1000
+        m, n = 5000, 1000
         nproducers = 10
         total_bytes = m * n * nproducers
         server, client = yield self.make_iostream_pair(max_buffer_size=total_bytes)