@@ -24,7 +24,6 @@ use ic_system_test_driver::driver::ic::{
2424} ;
2525use ic_system_test_driver:: driver:: pot_dsl:: { PotSetupFn , SysTestFn } ;
2626use ic_system_test_driver:: driver:: prometheus_vm:: { HasPrometheus , PrometheusVm } ;
27- use ic_system_test_driver:: driver:: simulate_network:: { FixedNetworkSimulation , SimulateNetwork } ;
2827use ic_system_test_driver:: driver:: test_env:: TestEnv ;
2928use ic_system_test_driver:: driver:: test_env_api:: {
3029 HasPublicApiUrl , HasTopologySnapshot , IcNodeContainer ,
@@ -42,13 +41,6 @@ const NUM_CANISTERS: usize = 100_000;
4241const NUM_NODES : usize = 13 ; // mainnet value
4342const DKG_INTERVAL : u64 = 499 ; // mainnet value
4443
45- // Network parameters
46- const BANDWIDTH_MBITS : u32 = 300 ; // artificial cap on bandwidth
47- const LATENCY : Duration = Duration :: from_millis ( 150 ) ; // artificial added latency
48- const NETWORK_SIMULATION : FixedNetworkSimulation = FixedNetworkSimulation :: new ( )
49- . with_latency ( LATENCY )
50- . with_bandwidth ( BANDWIDTH_MBITS ) ;
51-
5244fn main ( ) -> Result < ( ) > {
5345 let config = Config :: new ( NUM_NODES , NUM_CANISTERS ) ;
5446 let test = config. clone ( ) . test ( ) ;
@@ -121,14 +113,6 @@ fn setup(env: TestEnv, config: Config) {
121113 } ) ;
122114
123115 env. sync_with_prometheus ( ) ;
124- /*
125- let root_subnet = env.topology_snapshot().root_subnet();
126- root_subnet.apply_network_settings(NETWORK_SIMULATION);
127- */
128- let topology_snapshot = env. topology_snapshot ( ) ;
129- let ( app_subnet, _) = get_app_subnet_and_node ( & topology_snapshot) ;
130-
131- //app_subnet.apply_network_settings(NETWORK_SIMULATION);
132116}
133117
134118fn test ( env : TestEnv , config : Config ) {
0 commit comments