diff --git a/crates/papyrus_network/src/bin/network_stress_test/bootstrap_test_config.json b/crates/papyrus_network/src/bin/network_stress_test/bootstrap_test_config.json index a83e4da9b8..a5fdce5ea8 100644 --- a/crates/papyrus_network/src/bin/network_stress_test/bootstrap_test_config.json +++ b/crates/papyrus_network/src/bin/network_stress_test/bootstrap_test_config.json @@ -92,11 +92,11 @@ "num_messages": { "description": "The amount of messages to send and receive.", "privacy": "Public", - "value": 100000 + "value": 10000 }, "output_path": { "description": "The path of the output file.", "privacy": "Public", "value": "crates/papyrus_network/src/bin/network_stress_test/bootstrap_output.csv" } -} +} \ No newline at end of file diff --git a/crates/papyrus_network/src/bin/network_stress_test/main.rs b/crates/papyrus_network/src/bin/network_stress_test/main.rs index 0afeb4d927..2489287f0c 100644 --- a/crates/papyrus_network/src/bin/network_stress_test/main.rs +++ b/crates/papyrus_network/src/bin/network_stress_test/main.rs @@ -15,7 +15,6 @@ mod utils; #[tokio::main] async fn main() { - TestConfig::create_config_files(); let args = std::env::args().collect::>(); let default_path = BOOTSTRAP_CONFIG_FILE_PATH.to_string(); let config_path = args.get(1).unwrap_or(&default_path); diff --git a/crates/papyrus_network/src/bin/network_stress_test/test_config.json b/crates/papyrus_network/src/bin/network_stress_test/test_config.json index 88dffda545..dc9852fe3b 100644 --- a/crates/papyrus_network/src/bin/network_stress_test/test_config.json +++ b/crates/papyrus_network/src/bin/network_stress_test/test_config.json @@ -22,7 +22,7 @@ "network_config.bootstrap_peer_multiaddr": { "description": "The multiaddress of the peer node. It should include the peer's id. For more info: https://docs.libp2p.io/concepts/fundamentals/peers/", "privacy": "Public", - "value": "/ip4/127.0.0.1/tcp/10000/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" + "value": "/ip4/10.20.20.26/tcp/10000/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN" }, "network_config.bootstrap_peer_multiaddr.#is_none": { "description": "Flag for an optional field.", @@ -92,11 +92,11 @@ "num_messages": { "description": "The amount of messages to send and receive.", "privacy": "Public", - "value": 100000 + "value": 10000 }, "output_path": { "description": "The path of the output file.", "privacy": "Public", "value": "crates/papyrus_network/src/bin/network_stress_test/output.csv" } -} +} \ No newline at end of file diff --git a/crates/papyrus_network/src/bin/network_stress_test/utils.rs b/crates/papyrus_network/src/bin/network_stress_test/utils.rs index 9e639863fd..23f5c9e141 100644 --- a/crates/papyrus_network/src/bin/network_stress_test/utils.rs +++ b/crates/papyrus_network/src/bin/network_stress_test/utils.rs @@ -67,7 +67,7 @@ impl Default for TestConfig { network_config: NetworkConfig::default(), buffer_size: 1000, message_size: 1000, - num_messages: 100000, + num_messages: 10000, output_path: BOOTSTRAP_OUTPUT_FILE_PATH.to_string(), } }