From 718deb6cc06434271920d07fa10d6bb63b120530 Mon Sep 17 00:00:00 2001 From: pxin Date: Thu, 9 Apr 2020 15:46:33 +0800 Subject: [PATCH] bpo-31904: Fix test_ftplib failures for VxWorks RTOS --- 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 1f792d8514da0f..7f1858067b6433 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -138,6 +138,8 @@ # 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 00000000000000..40d232ec2f1e4f --- /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.