summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-07-14 08:30:28 (GMT)
committerSteve Dower <steve.dower@python.org>2019-07-14 08:30:28 (GMT)
commit52c8c090870c4e45dc48d1991d7ef7de2e40b2a8 (patch)
tree64c94d7b918349774fcbe2de5353676b6ee6851e
parent40d2226a69aed6252023d365731bd4ed39dc1a4f (diff)
downloadcpython-52c8c090870c4e45dc48d1991d7ef7de2e40b2a8.zip
cpython-52c8c090870c4e45dc48d1991d7ef7de2e40b2a8.tar.gz
cpython-52c8c090870c4e45dc48d1991d7ef7de2e40b2a8.tar.bz2
bpo-37553: SendfileUsingSendTest tests timeout too short for Windows ARM32 (GH-14716)
-rw-r--r--Lib/test/test_socket.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index e92f871..2705eff 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -5769,7 +5769,8 @@ class SendfileUsingSendTest(ThreadedTCPSocketTest):
FILESIZE = (10 * 1024 * 1024) # 10 MiB
BUFSIZE = 8192
FILEDATA = b""
- TIMEOUT = 2
+ # bpo-37553: This is taking longer than 2 seconds on Windows ARM32 buildbot
+ TIMEOUT = 10 if sys.platform == 'win32' and platform.machine() == 'ARM' else 2
@classmethod
def setUpClass(cls):