]> granicus.if.org Git - python/commitdiff
bpo-37553: SendfileUsingSendTest tests timeout too short for Windows ARM32 (GH-14716)
authorPaul Monson <paulmon@users.noreply.github.com>
Sun, 14 Jul 2019 08:30:28 +0000 (01:30 -0700)
committerSteve Dower <steve.dower@python.org>
Sun, 14 Jul 2019 08:30:28 +0000 (10:30 +0200)
Lib/test/test_socket.py

index e92f871880a9c8178d31bfcfc377f434c4b10390..2705eff4794e70240192ac3561c9b96956246376 100644 (file)
@@ -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):