Skip to content

Commit

Permalink
Turn on randomized workload in congestion control simtest (#20690)
Browse files Browse the repository at this point in the history
## Description 

Other tests require more fixes.

## Test plan 

How did you test the new or updated feature?

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
  • Loading branch information
halfprice authored Dec 24, 2024
1 parent 4b59afd commit b7595eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/sui-benchmark/tests/simtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,9 @@ mod test {
// Use shared_counter_max_tip to make transactions to have different gas prices.
simulated_load_config.use_shared_counter_max_tip = rng.gen_bool(0.25);
simulated_load_config.shared_counter_max_tip = rng.gen_range(1..=1000);

// Always enable the randomized tx workload in this test.
simulated_load_config.randomized_transaction_weight = 1;
info!("Simulated load config: {:?}", simulated_load_config);
}

Expand Down

0 comments on commit b7595eb

Please sign in to comment.