this is a workaround of the timeout found in jenkins. currently three
tests are found timeout, and they are labeld with "Racing" and
"LongRunning". so, to workaround this issue, we run the tests in two
phases:
1. run the racing tests with -j1
2. run the non-racing tests with -jN
if we all all tests with -j1, the total test time is 2683.57 sec
Signed-off-by: Kefu Chai <kchai@redhat.com>
$DRY_RUN ./do_cmake.sh || return 1
cd build
$DRY_RUN make $BUILD_MAKEOPTS tests || return 1
- $DRY_RUN ctest $CHECK_MAKEOPTS --output-on-failure || return 1
+ $DRY_RUN ctest -L Racing -j1 --output-on-failure || return 1
+ $DRY_RUN ctest -LE Racing $CHECK_MAKEOPTS --output-on-failure || return 1
else
$DRY_RUN ./autogen.sh || return 1
$DRY_RUN ./configure "$@" --with-librocksdb-static --disable-static --with-radosgw --with-debug --without-lttng \