Skip to content

Commit

Permalink
test: add --prefer-racks option to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Jan 19, 2024
1 parent 21e703b commit d87d392
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/integration/test_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def test_string_value():
backup_and_restore(
lambda context: put_values(lib.SET, "key", STRING_VALUES),
None,
lambda context: check_values(lib.SET, "key", STRING_VALUES)
lambda context: check_values(lib.SET, "key", STRING_VALUES),
restore_opts= ["--prefer-racks", "0"]
)

def test_blob_value():
Expand All @@ -92,7 +93,8 @@ def test_blob_value():
backup_and_restore(
lambda context: put_values(lib.SET, "key", BLOB_VALUES),
None,
lambda context: check_values(lib.SET, "key", BLOB_VALUES)
lambda context: check_values(lib.SET, "key", BLOB_VALUES),
restore_opts= ["--prefer-racks", "0,2,3"]
)

def test_blob_value_compact():
Expand Down

0 comments on commit d87d392

Please sign in to comment.