summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpxinwr <peixing.xin@windriver.com>2020-07-27 06:17:47 (GMT)
committerGitHub <noreply@github.com>2020-07-27 06:17:47 (GMT)
commit855e68855eeb06f8f0319b3366d3a012c2ff2041 (patch)
treef98035ebe5d561b77753f956263ed5e4e8904451
parent5798f787779006a94a55ec74a86da4627de90146 (diff)
downloadcpython-855e68855eeb06f8f0319b3366d3a012c2ff2041.zip
cpython-855e68855eeb06f8f0319b3366d3a012c2ff2041.tar.gz
cpython-855e68855eeb06f8f0319b3366d3a012c2ff2041.tar.bz2
bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447)
-rw-r--r--Lib/test/support/__init__.py2
-rw-r--r--Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst1
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index 1ce3a78..b517df7 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -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
index 0000000..40d232e
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst
@@ -0,0 +1 @@
+Increase LOOPBACK_TIMEOUT to 10 for VxWorks RTOS.