提交 14c6e1a0 编写于 作者: I Igor Canadi

Add write_stress to RocksDB Legocastle runs

Summary: As title. Let's run it for 1 hour.

Test Plan: How can I test legocastle changes?

Reviewers: IslamAbdelRahman, yhchiang, rven, sdong, anthony, kradhakrishnan

Reviewed By: kradhakrishnan

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D49653
上级 db3f5e49
...@@ -312,6 +312,28 @@ STRESS_CRASH_TEST_COMMANDS="[ ...@@ -312,6 +312,28 @@ STRESS_CRASH_TEST_COMMANDS="[
} }
]" ]"
# RocksDB write stress test.
# We run on disk device on purpose (i.e. no $SHM)
# because we want to add some randomness to fsync commands
WRITE_STRESS_COMMANDS="[
{
'name':'Rocksdb Write Stress Test',
'oncall':'$ONCALL',
'steps': [
$CLEANUP_ENV,
{
'name':'Build and run RocksDB write stress tests',
'shell':'make write_stress && python tools/write_stress_runner.py --runtime_sec=3600 --db=/tmp/rocksdb_write_stress',
'user':'root',
$PARSER
}
],
'artifacts': [{'name': 'database', 'paths': ['/tmp/rocksdb_write_stress']}],
$REPORT
}
]"
# #
# RocksDB test under address sanitizer # RocksDB test under address sanitizer
# #
...@@ -601,6 +623,9 @@ case $1 in ...@@ -601,6 +623,9 @@ case $1 in
stress_crash) stress_crash)
echo $STRESS_CRASH_TEST_COMMANDS echo $STRESS_CRASH_TEST_COMMANDS
;; ;;
write_stress)
echo $WRITE_STRESS_COMMANDS
;;
asan) asan)
echo $ASAN_TEST_COMMANDS echo $ASAN_TEST_COMMANDS
;; ;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册