diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 16603cfd6..2979a0508 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -84,9 +84,9 @@ def main(argv): --cache_size=1048576 --open_files=500000 --verify_checksum=1 - --sync=%s + --sync=0 --disable_wal=0 - --disable_data_sync=%s + --disable_data_sync=1 --target_file_size_base=2097152 --target_file_size_multiplier=2 --max_write_buffer_number=3 @@ -101,8 +101,6 @@ def main(argv): tempfile.mkdtemp(), random.randint(0, 1), random.randint(0, 1), - random.randint(0, 1), - random.randint(0, 1), random.randint(0, 1))) child = subprocess.Popen([cmd], diff --git a/tools/db_crashtest2.py b/tools/db_crashtest2.py index 6a28a0ba4..68cc42cf3 100644 --- a/tools/db_crashtest2.py +++ b/tools/db_crashtest2.py @@ -98,9 +98,9 @@ def main(argv): --cache_size=1048576 --open_files=500000 --verify_checksum=1 - --sync=%s + --sync=0 --disable_wal=0 - --disable_data_sync=%s + --disable_data_sync=1 --target_file_size_base=2097152 --target_file_size_multiplier=2 --max_write_buffer_number=3 @@ -117,8 +117,6 @@ def main(argv): random.randint(0, 1), random.randint(0, 1), random.randint(0, 1), - random.randint(0, 1), - random.randint(0, 1), additional_opts)) print "Running:" + cmd + "\n"