@@ -11,7 +11,11 @@ use crate::{
1111 testing:: { init_tracing, query_event, server_name, NoopSubscriber , TestTlsProvider } ,
1212} ;
1313use s2n_quic_core:: time:: StdClock ;
14- use std:: { num:: NonZeroUsize , path:: PathBuf , time:: Duration } ;
14+ use std:: {
15+ num:: NonZeroUsize ,
16+ path:: { Path , PathBuf } ,
17+ time:: Duration ,
18+ } ;
1519use tracing:: info;
1620
1721#[ tokio:: test]
@@ -99,7 +103,7 @@ async fn setup_servers() {
99103}
100104
101105async fn test_connection (
102- unix_socket_path : & PathBuf ,
106+ unix_socket_path : & Path ,
103107 handshake_server : & ServerProvider ,
104108 test_event_subscriber : NoopSubscriber ,
105109 stream_client : & ClientTokio < ClientProvider , NoopSubscriber > ,
@@ -109,7 +113,7 @@ async fn test_connection(
109113 . with_protocol ( Protocol :: Tcp )
110114 . with_udp ( false )
111115 . with_workers ( NonZeroUsize :: new ( 1 ) . unwrap ( ) )
112- . with_socket_path ( & unix_socket_path)
116+ . with_socket_path ( unix_socket_path)
113117 . build ( handshake_server. clone ( ) , test_event_subscriber. clone ( ) )
114118 . unwrap ( ) ;
115119
@@ -123,7 +127,7 @@ async fn test_connection(
123127 . with_protocol ( Protocol :: Tcp )
124128 . with_udp ( false )
125129 . with_workers ( NonZeroUsize :: new ( 1 ) . unwrap ( ) )
126- . with_socket_path ( & unix_socket_path)
130+ . with_socket_path ( unix_socket_path)
127131 . build ( test_event_subscriber. clone ( ) )
128132 . unwrap ( ) ;
129133 info ! (
0 commit comments