mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't sync in stress test
Summary: Syncing in stress test makes it run much much much slower. It also doesn't add much value IMO. Test Plan: no Reviewers: ljin Reviewed By: ljin CC: leveldb Differential Revision: https://reviews.facebook.net/D16839
This commit is contained in:
@@ -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],
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user