From 855e68855eeb06f8f0319b3366d3a012c2ff2041 Mon Sep 17 00:00:00 2001 From: pxinwr Date: Mon, 27 Jul 2020 14:17:47 +0800 Subject: bpo-31904: Fix test_ftplib failures for VxWorks RTOS (GH-19447) --- Lib/test/support/__init__.py | 2 ++ Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst | 1 + 2 files changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Tests/2020-04-09-15-40-03.bpo-31904.TJ4k3d.rst 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. -- cgit v0.12