Skip to content

Commit

Permalink
Fix active work in shuttle tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akoshelev committed Oct 4, 2024
1 parent 32bf1bb commit 5dd1de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ipa-core/src/helpers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ mod concurrency_tests {
let input = (0u32..11).map(TestField::truncate_from).collect::<Vec<_>>();
let config = TestWorldConfig {
gateway_config: GatewayConfig {
active: input.len().try_into().unwrap(),
active: input.len().next_power_of_two().try_into().unwrap(),
..Default::default()
},
..Default::default()
Expand Down Expand Up @@ -875,7 +875,7 @@ mod concurrency_tests {
let input = (0u32..11).map(TestField::truncate_from).collect::<Vec<_>>();
let config = TestWorldConfig {
gateway_config: GatewayConfig {
active: input.len().try_into().unwrap(),
active: input.len().next_power_of_two().try_into().unwrap(),
..Default::default()
},
..Default::default()
Expand Down

0 comments on commit 5dd1de2

Please sign in to comment.