From 85d83a150b8267a1b9d061132fbd32aba95dcb48 Mon Sep 17 00:00:00 2001 From: Tyler Harter Date: Thu, 15 Aug 2013 10:14:32 -0700 Subject: [PATCH] Update crashtests to match D12267 Summary: I changed the db_stress configs, but forgot to update the scripts using the old configs. Test Plan: 'make blackbox_crash_test' and 'make whitebox_crash_test' start running normally now (I haven't run them til the end, though). Reviewers: vamsi Reviewed By: vamsi CC: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D12303 --- tools/db_crashtest.py | 3 +++ tools/db_crashtest2.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 187f45995..1e4eb6664 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -90,6 +90,9 @@ def main(argv): --destroy_db_initially=0 \ --reopen=0 \ --readpercent=50 \ + --prefixpercent=5 \ + --writepercent=40 \ + --delpercent=5 \ --db=' + dirpath + '\ --max_key=100000000 ' + additional_opts], stderr=subprocess.PIPE, shell=True) diff --git a/tools/db_crashtest2.py b/tools/db_crashtest2.py index 2398efd91..a158574e6 100644 --- a/tools/db_crashtest2.py +++ b/tools/db_crashtest2.py @@ -107,6 +107,9 @@ def main(argv): --destroy_db_initially=0 ' + killoption + ' \ --reopen=0 \ --readpercent=50 \ + --prefixpercent=5 \ + --writepercent=40 \ + --delpercent=5 \ --db=' + dirpath + ' \ --max_key=100000000 ' + additional_opts]