From cd0dfc305d3861b9baf332a1cc13f1c716d8017b Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 13 Jul 2016 21:44:31 +0800 Subject: [PATCH] run-make-check.sh: run tests in two steps 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 --- run-make-check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-make-check.sh b/run-make-check.sh index 16c0672730f..880d6011efa 100755 --- a/run-make-check.sh +++ b/run-make-check.sh @@ -69,7 +69,8 @@ function run() { $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 \ -- 2.39.5