Skip to content

Commit 18f1d5c

Browse files
committed
Fixed test_checkpoint_system tests leading a random.sample function to fail due to invalid input values
1 parent cb4d09b commit 18f1d5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/python/functional/foundation_layer_tests/test_checkpoint_system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def generate_random_hex_string(n: int) -> str:
2525
return "".join(random.choices("0123456789abcdef", k=n))
2626

2727

28-
@pytest.mark.parametrize("checkpoint_num", [0, 1, 10, 100, 431])
28+
@pytest.mark.parametrize("checkpoint_num", [0, 1, 10, 100, 429])
2929
def test_set_random_number_of_checkpoints_from_replay(
3030
block_log_empty_430_split: tt.BlockLog, checkpoint_num: int
3131
) -> None:
@@ -39,7 +39,7 @@ def test_set_random_number_of_checkpoints_from_replay(
3939
assert node.is_running()
4040

4141

42-
@pytest.mark.parametrize("checkpoint_num", [0, 1, 10, 100, 431])
42+
@pytest.mark.parametrize("checkpoint_num", [0, 1, 10, 100, 429])
4343
def test_set_random_number_of_checkpoints_from_sync(
4444
block_log_empty_430_split: tt.BlockLog, checkpoint_num: int
4545
) -> None:

0 commit comments

Comments
 (0)