Skip to content

Commit

Permalink
add randomness
Browse files Browse the repository at this point in the history
  • Loading branch information
dailinsubjam committed Aug 23, 2024
1 parent d7495be commit f8d9da7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/testing/order_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ async fn test_builder_order() {
unique_rounds.insert(random_round);
}
let random_rounds: Vec<_> = unique_rounds.into_iter().collect();
let skip_round = 2; //random_rounds[0]; // the round we want to skip all the transactions
let adjust_add_round = 0; // random_rounds[1]; // the round we want to randomly add some transactions
let skip_round = random_rounds[0]; // the round we want to skip all the transactions
let adjust_add_round = random_rounds[1]; // the round we want to randomly add some transactions
let adjust_remove_round = -1; // the round we want to skip some transactions, after it is enabled the test is expected to fail
let adjust_remove_tail_round = 1; //random_rounds[2]; // the round we want to cut off the end of the bundle
let adjust_remove_tail_round = random_rounds[2]; // the round we want to cut off the end of the bundle
let propose_in_advance_round = NUM_ROUNDS - 2; // the round we want to include tx in later round to propose in advance

// set up state to track between simulated consensus rounds
Expand Down

0 comments on commit f8d9da7

Please sign in to comment.