Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sistemd committed Jan 18, 2024
1 parent 104bf74 commit 6db5639
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/p2p/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ async fn reconnect_too_quickly() {
.await;
}

/// Test that if a peer attempts to reconnect too quickly, the connection is closed.
/// Test that each peer accepts at most one connection from any other peer, and duplicate
/// connections are closed.
#[test_log::test(tokio::test)]
async fn duplicate_connection() {
const CONNECTION_TIMEOUT: Duration = Duration::from_millis(50);
Expand Down

0 comments on commit 6db5639

Please sign in to comment.