mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 13:53:09 +00:00
1.2 KiB
1.2 KiB
Scenario Lifecycle
- Build the plan: Declare a topology, attach workloads and expectations, and set the run window. The plan is the single source of truth for what will happen.
- Deploy: Hand the plan to a deployer. It provisions the environment on the chosen backend, waits for nodes to signal readiness, and returns a runner.
- Drive workloads: The runner starts traffic and behaviors (transactions, data-availability activity, restarts) for the planned duration.
- Observe blocks and signals: Track block progression and other high-level metrics during or after the run window to ground assertions in protocol time.
- Evaluate expectations: Once activity stops (and optional cooldown completes), the runner checks liveness and workload-specific outcomes to decide pass or fail.
- Cleanup: Tear down resources so successive runs start fresh and do not inherit leaked state.
flowchart LR
P[Plan<br/>topology + workloads + expectations] --> D[Deploy<br/>deployer provisions]
D --> R[Runner<br/>orchestrates execution]
R --> W[Drive Workloads]
W --> O[Observe<br/>blocks/metrics]
O --> E[Evaluate Expectations]
E --> C[Cleanup]