@@ -2193,25 +2193,17 @@ fn is_cgi() -> bool {
21932193// https://github.com/n0-computer/iroh/issues/1183
21942194#[ cfg( test) ]
21952195mod tests {
2196- use std:: time:: { Duration , Instant } ;
2196+ use std:: time:: Duration ;
21972197
2198- use iroh_base:: { NodeAddr , NodeId , SecretKey } ;
2199- use n0_future:: { BufferedStreamExt , StreamExt , stream, task:: AbortOnDropHandle } ;
2198+ use iroh_base:: { NodeAddr , SecretKey } ;
22002199 use n0_snafu:: { Error , Result , ResultExt } ;
22012200 use n0_watcher:: Watcher ;
2202- use quinn:: ConnectionError ;
22032201 use rand:: SeedableRng ;
2204- use tracing:: { Instrument , error_span , info, info_span} ;
2202+ use tracing:: { Instrument , info, info_span} ;
22052203 use tracing_test:: traced_test;
22062204
22072205 use super :: Endpoint ;
2208- use crate :: {
2209- RelayMode ,
2210- discovery:: static_provider:: StaticProvider ,
2211- endpoint:: { ConnectOptions , Connection , ConnectionType } ,
2212- protocol:: { AcceptError , ProtocolHandler , Router } ,
2213- test_utils:: { run_relay_server, run_relay_server_with} ,
2214- } ;
2206+ use crate :: { RelayMode , test_utils:: run_relay_server} ;
22152207
22162208 const TEST_ALPN : & [ u8 ] = b"n0/iroh/test" ;
22172209
0 commit comments