From 8f7194fae23bdc6db72fc5784933f50310ce51f9 Mon Sep 17 00:00:00 2001 From: Bartosz Nitka Date: Wed, 29 Jun 2016 06:10:20 -0700 Subject: Double the file descriptor limit for openFile008 I have get test failures on `openFile008` with `openFile: resource exhausted (Too many open files)` when running inside `./validate`, but not when I run the test individually. I suspect that's because with `./validate` parallelism of 33 threads I go just above the `1024` file descriptor limit. This is probably related to the recent change: `58f0086b70f2: Testsuite: open/close stdin/stdout/stderr explicitly` but I haven't looked deep enough to understand exactly how. I think bumping this is harmless, but I don't really know why it's necessary at all. Test Plan: ./validate Reviewers: austin, thomie, hvr, bgamari, simonmar Reviewed By: simonmar Subscribers: simonmar Differential Revision: https://phabricator.haskell.org/D2368 --- libraries/base/tests/IO/all.T | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/base/tests/IO/all.T b/libraries/base/tests/IO/all.T index 56bb44df49..44619dce88 100644 --- a/libraries/base/tests/IO/all.T +++ b/libraries/base/tests/IO/all.T @@ -75,7 +75,7 @@ test('openFile005', extra_clean(['openFile005.out1', 'openFile005.out2']), compile_and_run, ['']) test('openFile006', extra_clean(['openFile006.out']), compile_and_run, ['']) test('openFile007', extra_clean(['openFile007.out']), compile_and_run, ['']) -test('openFile008', cmd_prefix('ulimit -n 1024; '), compile_and_run, ['']) +test('openFile008', cmd_prefix('ulimit -n 2048; '), compile_and_run, ['']) test('putStr001', normal, compile_and_run, ['']) test('readFile001', extra_clean(['readFile001.out']), -- cgit v1.2.1