summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher A. Snapp <csnapp@chef.io>2019-12-06 11:41:58 -0700
committerChristopher A. Snapp <csnapp@chef.io>2019-12-06 11:41:58 -0700
commit8d960d5179d1eedb5cb9b537299ec4020ad80477 (patch)
tree7a599c40cee51bb84f06f98fdf36850ab1e3e864
parentd2bb31fa2308b16a21c070e88438261c4becc2bd (diff)
downloadchef-8d960d5179d1eedb5cb9b537299ec4020ad80477.tar.gz
Revert removal of explicit ulimit setting
The MacOS Anka images still hit max open files limits which necessitates bumping the ulimit in `omnibus-test.sh`. Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
-rw-r--r--omnibus/omnibus-test.sh3
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