test: remove flaky test (#5034)

This commit is contained in:
Matthias Seitz
2023-10-15 23:44:37 +02:00
committed by GitHub
parent 3028bbd83c
commit a60dbfdd56

View File

@ -22,21 +22,6 @@ use secp256k1::SecretKey;
use std::{collections::HashSet, net::SocketAddr, time::Duration};
use tokio::task;
#[tokio::test(flavor = "multi_thread")]
async fn test_connect_all() {
reth_tracing::init_test_tracing();
let num_peers = 3;
let net = Testnet::create(num_peers).await;
let handle = net.spawn();
handle.connect_peers().await;
handle.peers().iter().for_each(|peer| {
assert_eq!(peer.network().num_connected_peers(), num_peers - 1);
});
}
#[tokio::test(flavor = "multi_thread")]
async fn test_establish_connections() {
reth_tracing::init_test_tracing();