test: disable dns discovery (#9004)

This commit is contained in:
Matthias Seitz
2024-06-20 23:40:21 +02:00
committed by GitHub
parent 135e11b19b
commit 6b2c3af8b9

View File

@@ -91,6 +91,7 @@ async fn test_tcp_port_node_record_discovery() {
let config = NetworkConfigBuilder::new(secret_key)
.listener_port(0)
.discovery_port(0)
.disable_dns_discovery()
.build_with_noop_provider();
let network = NetworkManager::new(config).await.unwrap();