Skip to content

Commit

Permalink
test: remove flaky test (#5034)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Oct 15, 2023
1 parent 3028bbd commit a60dbfd
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions crates/net/network/tests/it/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit a60dbfd

Please sign in to comment.