Skip to content

Commit b142b09

Browse files
test passes
1 parent f05e8ba commit b142b09

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,6 +1271,7 @@ tasks:
12711271
- PROJECT_DIRECTORY
12721272
- MONGODB_URI
12731273
- DRIVERS_TOOLS
1274+
- PYTHON3
12741275

12751276
#############
12761277
# Functions #

.evergreen/run-socks5-proxy-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ FEATURE_FLAGS+=("socks5-proxy")
99
CARGO_OPTIONS+=("--ignore-default-filter")
1010

1111
# with auth
12-
python .evergreen/socks5srv.py --map "localhost:12345 to localhost:27017" --port 1080 --auth username:p4ssw0rd &
12+
$PYTHON3 .evergreen/socks5srv.py --port 1080 --auth "username:p4ssw0rd" --map "localhost:12345 to localhost:27017" &
1313
AUTH_PID=$!
1414
# without auth
15-
python .evergreen/socks5srv.py --map "localhost:12345 to localhost:27017" --port 1081 &
15+
$PYTHON3 .evergreen/socks5srv.py --port 1081 --map "localhost:12345 to localhost:27017" &
1616
NOAUTH_PID=$!
1717

1818
echo "testing socks5proxy with URI $MONGODB_URI"

.evergreen/socks5srv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def parse_single_mapping(string):
3838

3939
match = re.match(full_re, string)
4040
if match is None:
41+
print("failed!")
42+
print(string)
4143
raise Exception(
4244
f"Mapping {string} does not match format '{{host}}:{{port}} to {{host}}:{{port}}'"
4345
)

0 commit comments

Comments
 (0)