From dd2e1eeb35323f6a540e60422e85e394fcfceab0 Mon Sep 17 00:00:00 2001 From: krad Date: Mon, 21 Sep 2015 12:51:15 -0700 Subject: [PATCH] Disabling log running jobs Summary: Long running jobs are blocking the queue due to lack of adequate machines in the CI Test Plan: Manual testing Reviewers: CC: leveldb@ Task ID: #6968635 Blame Rev: --- build_tools/rocksdb-lego-determinator | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/build_tools/rocksdb-lego-determinator b/build_tools/rocksdb-lego-determinator index 2fb8b7f201..7a81a71308 100755 --- a/build_tools/rocksdb-lego-determinator +++ b/build_tools/rocksdb-lego-determinator @@ -30,6 +30,23 @@ LITE="OPT=-DROCKSDB_LITE" TSAN="COMPILE_WITH_TSAN=1" DISABLE_JEMALLOC="DISABLE_JEMALLOC=1" +# +# A mechanism to disable tests temporarily +# +DISABLE_COMMANDS="[ + { + 'name':'Disable test', + $ONCALL, + 'steps': [ + { + 'name':'Raise disabled notification', + 'shell':'exit 1', + 'user':'root' + }, + ], + } +]" + # # RocksDB unit test in parallel # Currently we always have noise in our parallel runs. This job is to help @@ -222,6 +239,7 @@ STRESS_CRASH_TEST_COMMANDS="[ } ]" +STRESS_CRASH_TEST_COMMANDS=$DISABLE_COMMANDS # # RocksDB test under address sanitizer @@ -263,6 +281,8 @@ ASAN_CRASH_TEST_COMMANDS="[ } ]" +ASAN_CRASH_TEST_COMMANDS=$DISABLE_COMMANDS + # # RocksDB unit test under valgrind # @@ -321,6 +341,8 @@ TSAN_CRASH_TEST_COMMANDS="[ } ]" +TSAN_CRASH_TEST_COMMANDS=$DISABLE_COMMANDS + # # RocksDB format compatible #