Skip to content

Commit

Permalink
fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
areshand committed Nov 26, 2024
1 parent 516f32e commit 1aa2738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/aptosdb/src/state_store/state_store_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ proptest! {

#[test]
fn test_get_rightmost_leaf_with_sharding(
(input, batch1_size) in hash_map(any::<StateKey>(), any::<StateValue>(), 2..1000)
(input, batch1_size) in hash_map(any::<StateKey>(), any::<StateValue>(), 3..1000)
.prop_flat_map(|input| {
let len = input.len();
(Just(input), 2..len)
Expand Down Expand Up @@ -519,7 +519,7 @@ proptest! {

#[test]
fn test_get_rightmost_leaf(
(input, batch1_size) in hash_map(any::<StateKey>(), any::<StateValue>(), 2..1000)
(input, batch1_size) in hash_map(any::<StateKey>(), any::<StateValue>(), 3..1000)
.prop_flat_map(|input| {
let len = input.len();
(Just(input), 1..len)
Expand Down

0 comments on commit 1aa2738

Please sign in to comment.