2025-12-01 12:48:39 +01:00
|
|
|
//! Scenario orchestration primitives shared by integration tests and runners.
|
|
|
|
|
|
|
|
|
|
mod capabilities;
|
|
|
|
|
pub mod cfgsync;
|
|
|
|
|
mod definition;
|
|
|
|
|
mod expectation;
|
|
|
|
|
pub mod http_probe;
|
|
|
|
|
mod runtime;
|
|
|
|
|
mod workload;
|
|
|
|
|
|
|
|
|
|
pub type DynError = Box<dyn std::error::Error + Send + Sync + 'static>;
|
|
|
|
|
|
2025-12-16 21:20:27 +01:00
|
|
|
pub use capabilities::{
|
|
|
|
|
NodeControlCapability, NodeControlHandle, ObservabilityCapability, RequiresNodeControl,
|
|
|
|
|
};
|
2025-12-01 12:48:39 +01:00
|
|
|
pub use definition::{Builder, Scenario, ScenarioBuilder, TopologyConfigurator};
|
|
|
|
|
pub use expectation::Expectation;
|
|
|
|
|
pub use runtime::{
|
|
|
|
|
BlockFeed, BlockFeedTask, BlockRecord, BlockStats, CleanupGuard, Deployer, NodeClients,
|
|
|
|
|
RunContext, RunHandle, RunMetrics, Runner, ScenarioError,
|
|
|
|
|
metrics::{
|
|
|
|
|
CONSENSUS_PROCESSED_BLOCKS, CONSENSUS_TRANSACTIONS_TOTAL, Metrics, MetricsError,
|
|
|
|
|
PrometheusEndpoint, PrometheusInstantSample,
|
|
|
|
|
},
|
|
|
|
|
spawn_block_feed,
|
|
|
|
|
};
|
|
|
|
|
pub use workload::Workload;
|