From 7322fcf84bdd516983588cc64b1e7166c62d9e12 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 6 Nov 2010 13:10:29 +0000 Subject: [PATCH] =?UTF-8?q?test=5Fconcurrent=5Ffutures:=20dump=20ulimit=20?= =?UTF-8?q?-a=20to=20check=20a=20failure=20on=20x86=20FreeBSD=207.2=C2=A03?= =?UTF-8?q?.x,=20buildbot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/test/test_concurrent_futures.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_concurrent_futures.py b/Lib/test/test_concurrent_futures.py index 6427368fd67..fd94f9f32cc 100644 --- a/Lib/test/test_concurrent_futures.py +++ b/Lib/test/test_concurrent_futures.py @@ -815,6 +815,10 @@ class FutureTests(unittest.TestCase): self.assertTrue(isinstance(f1.exception(timeout=5), IOError)) def test_main(): + # FIXME: remove this temporary hack to check a failure + # on "x86 FreeBSD 7.2 3.x" buildbot + import os; os.system("ulimit -a") + test.support.run_unittest(ProcessPoolExecutorTest, ThreadPoolExecutorTest, ProcessPoolWaitTests,