diff options
author | Christopher A. Snapp <csnapp@chef.io> | 2019-08-13 10:19:40 -0600 |
---|---|---|
committer | Christopher A. Snapp <csnapp@chef.io> | 2019-08-13 13:26:02 -0600 |
commit | 31b5340de8dadbea97484a646530338aa80d5789 (patch) | |
tree | 16083f201e6153c60c22ba61b8ffb06aa4ef0692 | |
parent | 887ce5e79e81f1e9f2f20b98dfa7dbb67ab0352d (diff) | |
download | chef-31b5340de8dadbea97484a646530338aa80d5789.tar.gz |
Increase max open file descriptors in omnibus-test.sh
The smoke tests currently exceed the maximum number of open files on
Anka based MacOS virtual machines which results in failures on all MacOS
instances.
This commit can/should be removed once the Anka images have been updated
to support 512 open files.
Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
-rw-r--r-- | omnibus/omnibus-test.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/omnibus/omnibus-test.sh b/omnibus/omnibus-test.sh index 95ac30bec4..963b91c4b8 100644 --- a/omnibus/omnibus-test.sh +++ b/omnibus/omnibus-test.sh @@ -147,6 +147,9 @@ elif [[ -d /usr/local/etc/sudoers.d ]]; then sudo chmod 440 "/usr/local/etc/sudoers.d/$(id -un)-preserve_path" fi +# REDO 20190813 - this ulimit can be removed once the macos anka images are updated to support more than 256 open files +ulimit -S -n 512 + cd "$chef_gem" sudo -E bundle install sudo -E bundle exec rspec -r rspec_junit_formatter -f RspecJunitFormatter -o test.xml -f documentation spec/functional |