From 9262061b0d353894b0aae99ccd22f34346d7ed53 Mon Sep 17 00:00:00 2001 From: Natalie Hildebrandt Date: Fri, 20 Sep 2013 16:27:22 -0700 Subject: [PATCH] Fixing crashing tests to include iterpercent param Summary: Adding in the iterpercent flag to tests. Test Plan: make crash_test Reviewers: emayanke Reviewed By: emayanke Differential Revision: https://reviews.facebook.net/D13035 --- tools/db_crashtest.py | 5 +++-- tools/db_crashtest2.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 1250198da..6270d69ca 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -71,10 +71,11 @@ def main(argv): --write_buffer_size=%s --destroy_db_initially=0 --reopen=0 - --readpercent=50 + --readpercent=45 --prefixpercent=5 - --writepercent=40 + --writepercent=35 --delpercent=5 + --iterpercent=10 --db=%s --max_key=100000000 --disable_seek_compaction=%s diff --git a/tools/db_crashtest2.py b/tools/db_crashtest2.py index 5830bbe0a..0942b5e4a 100644 --- a/tools/db_crashtest2.py +++ b/tools/db_crashtest2.py @@ -85,10 +85,11 @@ def main(argv): --write_buffer_size=%s --destroy_db_initially=0 --reopen=0 - --readpercent=50 + --readpercent=45 --prefixpercent=5 - --writepercent=40 + --writepercent=35 --delpercent=5 + --iterpercent=10 --db=%s --max_key=100000000 --disable_seek_compaction=%s