@@ -189,6 +189,7 @@ functions:
189
189
SSL=${SSL} \
190
190
ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \
191
191
REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \
192
+ LOAD_BALANCER=${LOAD_BALANCER} \
192
193
sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
193
194
- command : expansions.update
194
195
params :
@@ -1446,6 +1447,7 @@ tasks:
1446
1447
TOPOLOGY : " sharded_cluster"
1447
1448
AUTH : " noauth"
1448
1449
SSL : " nossl"
1450
+ LOAD_BALANCER : " true"
1449
1451
- func : run-load-balancer
1450
1452
- func : run-load-balancer-tests
1451
1453
@@ -1457,6 +1459,7 @@ tasks:
1457
1459
TOPOLOGY : " sharded_cluster"
1458
1460
AUTH : " auth"
1459
1461
SSL : " ssl"
1462
+ LOAD_BALANCER : " true"
1460
1463
- func : run-load-balancer
1461
1464
- func : run-load-balancer-tests
1462
1465
@@ -1855,6 +1858,10 @@ axes:
1855
1858
display_name : " 2.6"
1856
1859
variables :
1857
1860
VERSION : " 2.6"
1861
+ - id : " rapid"
1862
+ display_name : " rapid"
1863
+ variables :
1864
+ VERSION : " rapid"
1858
1865
- id : " latest"
1859
1866
display_name : " latest"
1860
1867
variables :
@@ -2155,7 +2162,10 @@ buildvariants:
2155
2162
2156
2163
- matrix_name : " load-balancer-test"
2157
2164
# The LB software is only available on Ubuntu 18.04, so we don't test on all OSes.
2158
- matrix_spec : { version: ["5.0", "latest"], os-ssl-40: ["ubuntu1804-64-go-1-16"] }
2165
+ # The new "loadBalancerPort" option is supported starting with server 5.2, which responds
2166
+ # correctly to "hello" commands with a service ID when behind a load balancer. Only run load
2167
+ # balancer tests on server 5.2+ ("rapid", "latest" are always 5.2+).
2168
+ matrix_spec : { version: ["rapid", "latest"], os-ssl-40: ["ubuntu1804-64-go-1-16"] }
2159
2169
display_name : " Load Balancer Support ${version} ${os-ssl-40}"
2160
2170
tasks :
2161
2171
- name : " .load-balancer"
0 commit comments