提交 033c6f1a 编写于 作者: S Shusen Liu

T7916298, bug fix

Summary: dbname => cmd_params['db']

Test Plan: Run `make crash_test`

Reviewers: sdong

Reviewed By: sdong

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D49077
上级 7717ad1a
......@@ -219,7 +219,7 @@ def blackbox_crash_main(args):
time.sleep(1) # time to stabilize before the next run
# we need to clean up after ourselves -- only do this on test success
shutil.rmtree(dbname, True)
shutil.rmtree(cmd_params['db'], True)
# This python script runs db_stress multiple times. Some runs with
......@@ -328,7 +328,7 @@ def whitebox_crash_main(args):
if time.time() > half_time:
# we need to clean up after ourselves -- only do this on test
# success
shutil.rmtree(dbname, True)
shutil.rmtree(cmd_params['db'], True)
check_mode = (check_mode + 1) % total_check_mode
time.sleep(1) # time to stabilize after a kill
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册