]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
run-make-check.sh: set ulimit -n (because no one else does)
authorDan Mick <dan.mick@redhat.com>
Thu, 3 Aug 2017 03:00:07 +0000 (20:00 -0700)
committerDan Mick <dan.mick@redhat.com>
Thu, 3 Aug 2017 04:12:13 +0000 (21:12 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
run-make-check.sh

index b23672c4f0a8b022d25103711ab2cc4a43f85049..aa8f8ed28f82b28a5230d2354ef3b52bea935eeb 100755 (executable)
@@ -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