Add stress crash test with timestamp to lego determinator (#8104)
Summary: As title. Pull Request resolved: https://github.com/facebook/rocksdb/pull/8104 Test Plan: build_tools/rocksdb-lego-determinator stress_crash_with_ts Reviewed By: ltamasi Differential Revision: D27312265 Pulled By: riversand963 fbshipit-source-id: 3175a9d9074bdb282137c6518402d622436931d6
This commit is contained in:
parent
da6b90ab48
commit
469164dc3c
@ -548,6 +548,36 @@ STRESS_CRASH_TEST_WITH_TXN_COMMANDS="[
|
|||||||
}
|
}
|
||||||
]"
|
]"
|
||||||
|
|
||||||
|
#
|
||||||
|
# RocksDB stress/crash test with timestamp
|
||||||
|
#
|
||||||
|
STRESS_CRASH_TEST_WITH_TS_COMMANDS="[
|
||||||
|
{
|
||||||
|
'name':'Rocksdb Stress and Crash Test with ts',
|
||||||
|
'oncall':'$ONCALL',
|
||||||
|
'executeLocal': 'true',
|
||||||
|
'timeout': 86400,
|
||||||
|
'steps': [
|
||||||
|
$CLEANUP_ENV,
|
||||||
|
{
|
||||||
|
'name':'Build and run RocksDB debug stress tests',
|
||||||
|
'shell':'cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make J=1 db_stress || $CONTRUN_NAME=db_stress $TASK_CREATION_TOOL',
|
||||||
|
'user':'root',
|
||||||
|
$PARSER
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'name':'Build and run RocksDB debug crash tests with ts',
|
||||||
|
'timeout': 86400,
|
||||||
|
'shell':'cd $WORKING_DIR; $SHM $DEBUG $NON_TSAN_CRASH make J=1 crash_test_with_ts || $CONTRUN_NAME=crash_test_with_ts $TASK_CREATION_TOOL',
|
||||||
|
'user':'root',
|
||||||
|
$PARSER
|
||||||
|
},
|
||||||
|
$UPLOAD_DB_DIR,
|
||||||
|
],
|
||||||
|
$REPORT
|
||||||
|
}
|
||||||
|
]"
|
||||||
|
|
||||||
# RocksDB write stress test.
|
# RocksDB write stress test.
|
||||||
# We run on disk device on purpose (i.e. no $SHM)
|
# We run on disk device on purpose (i.e. no $SHM)
|
||||||
# because we want to add some randomness to fsync commands
|
# because we want to add some randomness to fsync commands
|
||||||
@ -1220,6 +1250,9 @@ case $1 in
|
|||||||
stress_crash_with_txn)
|
stress_crash_with_txn)
|
||||||
echo $STRESS_CRASH_TEST_WITH_TXN_COMMANDS
|
echo $STRESS_CRASH_TEST_WITH_TXN_COMMANDS
|
||||||
;;
|
;;
|
||||||
|
stress_crash_with_ts)
|
||||||
|
echo $STRESS_CRASH_TEST_WITH_TS_COMMANDS
|
||||||
|
;;
|
||||||
write_stress)
|
write_stress)
|
||||||
echo $WRITE_STRESS_COMMANDS
|
echo $WRITE_STRESS_COMMANDS
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user