From: pxinwr Date: Mon, 27 Jul 2020 06:17:47 +0000 (+0800) Subject: bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447) X-Git-Tag: v3.10.0a1~340 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=855e68855eeb06f8f0319b3366d3a012c2ff2041;p=thirdparty%2FPython%2Fcpython.git bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447) --- diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 1ce3a78fdbbe..b517df7b53b6 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 000000000000..40d232ec2f1e --- /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.