mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-02-17 03:33:08 +00:00
This merge brings the following updates from the dev branch: Pull Requests: - #10: chore: update main repo dependencies (@hansieodendaal) Update for main repo changes including removal of DA config-related code and executor node dependencies - #8: Add support to use framework without running scenario (@andrussal) Add ManualCluster for controlling nodes lifecycle and reorganize node-control logic - #7: Remove DA (@andrussal) Remove DA workload usage from framework following node changes - #6: feat: refactor for using external cucumber (@hansieodendaal) Removed all references to cucumber and prepared compose docker workspace for external repo root - #4: Individual nodes connect at runtime (@andrussal) Add option to connect to arbitrary peers when starting a node - #2: feat: add cucumber auto deployer (@hansieodendaal) Added example for selecting deployer based on environment variable - #1: chore: allow older curl versions as well (@hansieodendaal) Allow compatibility with older and newer curl versions Contributors: - @andrussal - @hansieodendaal
14 lines
512 B
Rust
14 lines
512 B
Rust
use anyhow::Result;
|
|
use testing_framework_core::scenario::{Deployer, ScenarioBuilder};
|
|
use testing_framework_runner_local::LocalDeployer;
|
|
|
|
pub async fn step_6_deploy_and_execute() -> Result<()> {
|
|
let mut plan = ScenarioBuilder::with_node_counts(1).build()?;
|
|
|
|
let deployer = LocalDeployer::default(); // Use local process deployer
|
|
let runner = deployer.deploy(&plan).await?; // Provision infrastructure
|
|
let _handle = runner.run(&mut plan).await?; // Execute workloads & expectations
|
|
|
|
Ok(())
|
|
}
|