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 #