@@ -18,6 +18,7 @@ pub mod p2p;
1818
1919mod driver;
2020pub use driver:: * ;
21+ use p2p:: signaling:: P2pSignaling ;
2122
2223pub use crate :: cluster:: runner:: * ;
2324
@@ -66,6 +67,7 @@ pub enum Scenarios {
6667 SimulationSmall ( SimulationSmall ) ,
6768 SimulationSmallForeverRealTime ( SimulationSmallForeverRealTime ) ,
6869 P2pReceiveBlock ( P2pReceiveBlock ) ,
70+ P2pSignaling ( P2pSignaling ) ,
6971 MultiNodePubsubPropagateBlock ( MultiNodePubsubPropagateBlock ) ,
7072 RecordReplayBootstrap ( RecordReplayBootstrap ) ,
7173 RecordReplayBlockProduction ( RecordReplayBlockProduction ) ,
@@ -90,6 +92,7 @@ impl Scenarios {
9092 Self :: SimulationSmall ( _) => true ,
9193 Self :: SimulationSmallForeverRealTime ( _) => true ,
9294 Self :: MultiNodePubsubPropagateBlock ( _) => true , // in progress
95+ Self :: P2pSignaling ( _) => cfg ! ( feature = "p2p-webrtc" ) ,
9396 _ => false ,
9497 }
9598 }
@@ -148,6 +151,7 @@ impl Scenarios {
148151 Self :: SimulationSmall ( _) => SimulationSmall :: DOCS ,
149152 Self :: SimulationSmallForeverRealTime ( _) => SimulationSmallForeverRealTime :: DOCS ,
150153 Self :: P2pReceiveBlock ( _) => P2pReceiveBlock :: DOCS ,
154+ Self :: P2pSignaling ( _) => P2pSignaling :: DOCS ,
151155 Self :: MultiNodePubsubPropagateBlock ( _) => MultiNodePubsubPropagateBlock :: DOCS ,
152156 Self :: RecordReplayBootstrap ( _) => RecordReplayBootstrap :: DOCS ,
153157 Self :: RecordReplayBlockProduction ( _) => RecordReplayBlockProduction :: DOCS ,
@@ -184,6 +188,7 @@ impl Scenarios {
184188 Self :: SimulationSmall ( v) => v. run ( runner) . await ,
185189 Self :: SimulationSmallForeverRealTime ( v) => v. run ( runner) . await ,
186190 Self :: P2pReceiveBlock ( v) => v. run ( runner) . await ,
191+ Self :: P2pSignaling ( v) => v. run ( runner) . await ,
187192 Self :: MultiNodePubsubPropagateBlock ( v) => v. run ( runner) . await ,
188193 Self :: RecordReplayBootstrap ( v) => v. run ( runner) . await ,
189194 Self :: RecordReplayBlockProduction ( v) => v. run ( runner) . await ,
0 commit comments