mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-02-17 03:33:08 +00:00
16 lines
481 B
Rust
16 lines
481 B
Rust
use std::time::Duration;
|
|
|
|
use testing_framework_core::scenario::{Scenario, ScenarioBuilder};
|
|
use testing_framework_workflows::ScenarioBuilderExt;
|
|
|
|
use crate::SnippetResult;
|
|
|
|
pub fn scenario_plan() -> SnippetResult<Scenario<()>> {
|
|
ScenarioBuilder::topology_with(|t| t.network_star().nodes(3))
|
|
.wallets(50)
|
|
.transactions_with(|txs| txs.rate(5).users(20))
|
|
.expect_consensus_liveness()
|
|
.with_run_duration(Duration::from_secs(90))
|
|
.build()
|
|
}
|