[RocksDB] add back --mmap_read options to crashtest

Summary: As title, now that db_stress supports --map_read properly

Test Plan: make crash_test

Reviewers: vamsi, emayanke, dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D11391
main
Haobo Xu 12 years ago
parent 4deaa0d48b
commit 0f78fad9f5
  1. 1
      tools/db_crashtest.py
  2. 1
      tools/db_crashtest2.py

@ -66,6 +66,7 @@ def main(argv):
run_had_errors = False run_had_errors = False
additional_opts = ' --disable_seek_compaction=' + \ additional_opts = ' --disable_seek_compaction=' + \
str(random.randint(0, 1)) + \ str(random.randint(0, 1)) + \
' --mmap_read=' + str(random.randint(0, 1)) + \
' --block_size=16384 ' + \ ' --block_size=16384 ' + \
' --cache_size=1048576 ' + \ ' --cache_size=1048576 ' + \
' --open_files=500000 ' + \ ' --open_files=500000 ' + \

@ -71,6 +71,7 @@ def main(argv):
run_had_errors = False run_had_errors = False
additional_opts = ' --disable_seek_compaction=' + \ additional_opts = ' --disable_seek_compaction=' + \
str(random.randint(0, 1)) + \ str(random.randint(0, 1)) + \
' --mmap_read=' + str(random.randint(0, 1)) + \
' --block_size=16384 ' + \ ' --block_size=16384 ' + \
' --cache_size=1048576 ' + \ ' --cache_size=1048576 ' + \
' --open_files=500000 ' + \ ' --open_files=500000 ' + \

Loading…
Cancel
Save