Skip to content

Commit 67c75b0

Browse files
fixup
1 parent 77e1e38 commit 67c75b0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

iroh-relay/src/server.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,6 @@ mod tests {
814814
use iroh_base::{NodeId, RelayUrl, SecretKey};
815815
use n0_future::{FutureExt, SinkExt};
816816
use testresult::TestResult;
817-
use tracing_subscriber::layer::SubscriberExt;
818817
use tracing_test::traced_test;
819818

820819
use super::*;
@@ -1161,12 +1160,8 @@ mod tests {
11611160
use n0_snafu::{TestError, TestResultExt};
11621161

11631162
#[tokio::test]
1164-
// #[traced_test]
1163+
#[traced_test]
11651164
async fn test_relay_access_control() -> n0_snafu::TestResult {
1166-
let subscriber =
1167-
tracing_subscriber::Registry::default().with(n0_snafu::ErrorLayer::default());
1168-
tracing::subscriber::set_global_default(subscriber).unwrap();
1169-
11701165
let current_span = tracing::info_span!("this is a test");
11711166
let _guard = current_span.enter();
11721167

0 commit comments

Comments
 (0)