Skip to content

Commit

Permalink
run-make-check.sh: set ulimit -n (because no one else does)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Mick <[email protected]>
  • Loading branch information
dmick committed Aug 3, 2017
1 parent 740daa3 commit 9f3b1cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run-make-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ function run() {
$DRY_RUN ./do_cmake.sh $@ || return 1
$DRY_RUN cd build
$DRY_RUN make $BUILD_MAKEOPTS tests || return 1
# prevent OSD EMFILE death on tests
$DRY_RUN sudo ulimit -n 32768
if ! $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure; then
rm -f ${TMPDIR:-/tmp}/ceph-asok.*
return 1
Expand Down

0 comments on commit 9f3b1cf

Please sign in to comment.