diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index c71c8c99d..59528128b 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -56,7 +56,7 @@ default_params = { "write_buffer_size": 4 * 1024 * 1024, "writepercent": 35, "format_version": lambda: random.randint(2, 4), - "index_block_restart_interval": lambda: random.choice(1, 16), + "index_block_restart_interval": lambda: random.choice(range(1, 16)), } _TEST_DIR_ENV_VAR = 'TEST_TMPDIR'