File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ FEATURE_FLAGS+=("socks5-proxy")
99CARGO_OPTIONS+=(" --ignore-default-filter" )
1010
1111# with auth
12- python $DRIVERS_TOOLS /.evergreen/socks5srv.py --map " 127.0.0.1 :12345 to 127.0.0.1 :27017" --port 1080 --auth username:p4ssw0rd &
12+ python $DRIVERS_TOOLS /.evergreen/socks5srv.py --map " localhost :12345 to localhost :27017" --port 1080 --auth username:p4ssw0rd &
1313AUTH_PID=$!
1414# without auth
15- python $DRIVERS_TOOLS /.evergreen/socks5srv.py --map " 127.0.0.1 :12345 to 127.0.0.1 :27017" --port 1081 &
15+ python $DRIVERS_TOOLS /.evergreen/socks5srv.py --map " localhost :12345 to localhost :27017" --port 1081 &
1616NOAUTH_PID=$!
1717
1818echo " testing socks5proxy with URI $MONGODB_URI "
Original file line number Diff line number Diff line change @@ -1023,7 +1023,7 @@ fn server_address_from_socket_addr_ipv6() {
10231023
10241024#[ tokio:: test]
10251025#[ cfg( feature = "socks5-proxy" ) ]
1026- async fn socks5_proxy_skip_ci ( ) {
1026+ async fn socks5_proxy ( ) {
10271027 use crate :: {
10281028 error:: Result ,
10291029 options:: { ClientOptions , Tls } ,
@@ -1038,7 +1038,7 @@ async fn socks5_proxy_skip_ci() {
10381038 }
10391039
10401040 let options = get_client_options ( ) . await ;
1041- let mapped_host = options . hosts . first ( ) . cloned ( ) . unwrap ( ) ;
1041+ let mapped_host = "localhost:12345" ;
10421042 let all_hosts = options
10431043 . hosts
10441044 . iter ( )
You can’t perform that action at this time.
0 commit comments