Extend stress test to format_version 4 (#4265)

Summary:
Stress tests currently cover format_version 2 and 3. The patch adds 4 as well.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4265

Differential Revision: D9323185

Pulled By: maysamyabandeh

fbshipit-source-id: 54d11e41ecae09bae14cadd7313f07c9a3db5a57
This commit is contained in:
Maysam Yabandeh 2018-08-14 14:07:12 -07:00 committed by Facebook Github Bot
parent d916a1105a
commit d122025891

View File

@ -54,7 +54,7 @@ default_params = {
"verify_checksum": 1,
"write_buffer_size": 4 * 1024 * 1024,
"writepercent": 35,
"format_version": lambda: random.randint(2, 3),
"format_version": lambda: random.randint(2, 4),
}
_TEST_DIR_ENV_VAR = 'TEST_TMPDIR'