]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447)
authorpxinwr <peixing.xin@windriver.com>
Mon, 27 Jul 2020 06:17:47 +0000 (14:17 +0800)
committerGitHub <noreply@github.com>
Mon, 27 Jul 2020 06:17:47 +0000 (15:17 +0900)
Lib/test/support/__init__.py
Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst [new file with mode: 0644]

index 1ce3a78fdbbe5700f20da2e4966d3d037521a09c..b517df7b53b6eaa3d9e4860dadeed3ab101b14d3 100644 (file)
@@ -89,6 +89,8 @@ if sys.platform == 'win32' and ' 32 bit (ARM)' in sys.version:
     # bpo-37553: test_socket.SendfileUsingSendTest is taking longer than 2
     # seconds on Windows ARM32 buildbot
     LOOPBACK_TIMEOUT = 10
+elif sys.platform == 'vxworks':
+    LOOPBACK_TIMEOUT = 10
 
 # Timeout in seconds for network requests going to the Internet. The timeout is
 # short enough to prevent a test to wait for too long if the Internet request
diff --git a/Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst b/Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst
new file mode 100644 (file)
index 0000000..40d232e
--- /dev/null
@@ -0,0 +1 @@
+Increase LOOPBACK_TIMEOUT to 10 for VxWorks RTOS.