summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-06-29 06:10:20 -0700
committerBartosz Nitka <niteria@gmail.com>2016-06-29 06:10:22 -0700
commit8f7194fae23bdc6db72fc5784933f50310ce51f9 (patch)
tree7c8b7d6e919a17ef74f5946d8db46238cc365366
parent9a645a1687aca21f965206f1d8c8bb23dd6410e5 (diff)
downloadhaskell-8f7194fae23bdc6db72fc5784933f50310ce51f9.tar.gz
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
-rw-r--r--libraries/base/tests/IO/all.T2
1 files changed, 1 insertions, 1 deletions
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']),