File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -814,7 +814,6 @@ mod tests {
814
814
use iroh_base:: { NodeId , RelayUrl , SecretKey } ;
815
815
use n0_future:: { FutureExt , SinkExt } ;
816
816
use testresult:: TestResult ;
817
- use tracing_subscriber:: layer:: SubscriberExt ;
818
817
use tracing_test:: traced_test;
819
818
820
819
use super :: * ;
@@ -1161,12 +1160,8 @@ mod tests {
1161
1160
use n0_snafu:: { TestError , TestResultExt } ;
1162
1161
1163
1162
#[ tokio:: test]
1164
- // #[traced_test]
1163
+ #[ traced_test]
1165
1164
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
-
1170
1165
let current_span = tracing:: info_span!( "this is a test" ) ;
1171
1166
let _guard = current_span. enter ( ) ;
1172
1167
You can’t perform that action at this time.
0 commit comments