File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 let ( shutdown_tx, shutdown_rx) = oneshot:: channel :: < ( ) > ( ) ;
7171 let ( header_tx, header_rx) = tokio:: sync:: mpsc:: unbounded_channel ( ) ;
7272
73- let listener = TcpListener :: bind ( "127.0.0.1 :0" ) . await . unwrap ( ) ;
73+ let listener = TcpListener :: bind ( "[::] :0" ) . await . unwrap ( ) ;
7474 let addr = listener. local_addr ( ) . unwrap ( ) ;
7575
7676 let server_handle = tokio:: spawn ( async move {
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ async fn namespace_header_attached_to_relevant_calls() {
255255 let ( shutdown_tx, shutdown_rx) = oneshot:: channel :: < ( ) > ( ) ;
256256 let ( header_tx, mut header_rx) = tokio:: sync:: mpsc:: unbounded_channel ( ) ;
257257
258- let listener = TcpListener :: bind ( "127.0.0.1 :0" ) . await . unwrap ( ) ;
258+ let listener = TcpListener :: bind ( "[::] :0" ) . await . unwrap ( ) ;
259259 let addr = listener. local_addr ( ) . unwrap ( ) ;
260260
261261 let server_handle = tokio:: spawn ( async move {
You can’t perform that action at this time.
0 commit comments