Skip to content

Commit d84416e

Browse files
committed
Small improvements and fix
1 parent d53fda2 commit d84416e

File tree

2 files changed

+42
-12
lines changed

2 files changed

+42
-12
lines changed

evergreen/evergreen.yml

Lines changed: 41 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,15 +1169,6 @@ tasks:
11691169
vars:
11701170
FRAMEWORK: net60
11711171

1172-
#//TODO need to do the same with the other platforms
1173-
- name: test-socks5-proxy-net60
1174-
commands:
1175-
- func: bootstrap-mongo-orchestration
1176-
- func: setup-socks5-proxy
1177-
- func: run-socks5-proxy-tests
1178-
vars:
1179-
FRAMEWORK: net60
1180-
11811172
- name: test-csfle-with-mocked-kms-tls-net472
11821173
commands:
11831174
- func: setup-csfle-secrets
@@ -1254,6 +1245,30 @@ tasks:
12541245
vars:
12551246
FRAMEWORK: net60
12561247

1248+
- name: test-socks5-proxy-net472
1249+
commands:
1250+
- func: bootstrap-mongo-orchestration
1251+
- func: setup-socks5-proxy
1252+
- func: run-socks5-proxy-tests
1253+
vars:
1254+
FRAMEWORK: net472
1255+
1256+
- name: test-socks5-proxy-netstandard21
1257+
commands:
1258+
- func: bootstrap-mongo-orchestration
1259+
- func: setup-socks5-proxy
1260+
- func: run-socks5-proxy-tests
1261+
vars:
1262+
FRAMEWORK: netstandard21
1263+
1264+
- name: test-socks5-proxy-net60
1265+
commands:
1266+
- func: bootstrap-mongo-orchestration
1267+
- func: setup-socks5-proxy
1268+
- func: run-socks5-proxy-tests
1269+
vars:
1270+
FRAMEWORK: net60
1271+
12571272
- name: plain-auth-tests
12581273
commands:
12591274
- func: run-plain-auth-tests
@@ -2594,13 +2609,27 @@ buildvariants:
25942609
- name: atlas-search-index-helpers-task-group
25952610

25962611
# Socks5 Proxy tests
2597-
# //TODO I don't think we need to do this tests with more than one version, right?
2598-
# //TODO Do we need to run it also on other OSes? Java does only linux
25992612

2600-
- matrix_name: "socks5-proxy-tests"
2613+
- matrix_name: "socks5-proxy-tests-linux"
26012614
matrix_spec: { os: "ubuntu-2004", ssl: ["nossl", "ssl"], version: ["latest"], topology: ["replicaset"] }
26022615
display_name: "Socks5 Proxy ${version} ${os} ${ssl}"
26032616
tasks:
2617+
- name: test-socks5-proxy-netstandard21
2618+
- name: test-socks5-proxy-net60
2619+
2620+
- matrix_name: "socks5-proxy-tests-windows"
2621+
matrix_spec: { os: "windows-64", ssl: ["nossl", "ssl"], version: ["latest"], topology: ["replicaset"] }
2622+
display_name: "Socks5 Proxy ${version} ${os} ${ssl}"
2623+
tasks:
2624+
- name: test-socks5-proxy-net472
2625+
- name: test-socks5-proxy-netstandard21
2626+
- name: test-socks5-proxy-net60
2627+
2628+
- matrix_name: "socks5-proxy-tests-macos"
2629+
matrix_spec: { os: "macos-14", ssl: ["nossl", "ssl"], version: ["latest"], topology: ["replicaset"] }
2630+
display_name: "Socks5 Proxy ${version} ${os} ${ssl}"
2631+
tasks:
2632+
- name: test-socks5-proxy-netstandard21
26042633
- name: test-socks5-proxy-net60
26052634

26062635
# CSFLE tests

tests/MongoDB.Driver.Tests/ClusterRegistryTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ public void GetOrCreateCluster_should_return_a_cluster_with_the_correct_settings
142142
serverMonitoringMode: ServerMonitoringMode.Stream,
143143
serverSelectionTimeout: TimeSpan.FromSeconds(11),
144144
socketTimeout: TimeSpan.FromSeconds(12),
145+
socks5ProxySettings: null,
145146
srvMaxHosts: 0,
146147
srvServiceName: "mongodb",
147148
sslSettings: sslSettings,

0 commit comments

Comments
 (0)