Skip to content

Commit

Permalink
fix(tests): update required features in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyasmohd authored Feb 2, 2025
1 parent 593c70a commit 481e443
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion transports/quic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tracing-subscriber = { workspace = true, features = ["env-filter"] }

[[test]]
name = "stream_compliance"
required-features = ["async-std"]
required-features = ["tokio"]

[lints]
workspace = true
2 changes: 0 additions & 2 deletions transports/quic/tests/stream_compliance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ use libp2p_core::{
};
use libp2p_quic as quic;

#[cfg(feature = "tokio")]
#[tokio::test]
async fn close_implies_flush() {
let (alice, bob) = connected_peers().await;

libp2p_muxer_test_harness::close_implies_flush(alice, bob).await;
}

#[cfg(feature = "tokio")]
#[tokio::test]
async fn read_after_close() {
let (alice, bob) = connected_peers().await;
Expand Down

0 comments on commit 481e443

Please sign in to comment.