Skip to content

Commit 3d821aa

Browse files
committed
minor: modernize test configurations
1 parent f9b9464 commit 3d821aa

File tree

1 file changed

+48
-22
lines changed

1 file changed

+48
-22
lines changed

.mci.yml

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ cxx_driver_variables:
1111
- name: "compile"
1212
- name: "unit-test"
1313
- name: "integration-test-latest"
14+
- name: "integration-test-latest-with-auth"
1415
- name: "client-test-latest"
1516

1617
## Note that the in 3.0, the default storage engine is MMAPv1 and
17-
## WiredTiger is opt-in, but in latest as of MongoDB 3.1.4, the
18+
## WiredTiger is opt-in, but as of MongoDB 3.1.4, the
1819
## default is WiredTiger and MMAPv1 is opt-in.
1920
storage_engine_test_list: &storage_engine_tests
2021
- name: "compile"
@@ -36,12 +37,12 @@ cxx_driver_variables:
3637
- name: "integration-test-2.4"
3738
- name: "integration-test-2.6"
3839
- name: "integration-test-3.0"
39-
- name: "integration-test-3.0-with-auth"
40-
- name: "integration-test-latest"
40+
- name: "integration-test-3.2"
4141
- name: "client-test-2.2"
4242
- name: "client-test-2.4"
4343
- name: "client-test-2.6"
4444
- name: "client-test-3.0"
45+
- name: "client-test-3.2"
4546
- name: "client-test-latest"
4647

4748
## Common download urls (merge in as hashes)
@@ -222,13 +223,6 @@ functions:
222223
bucket: mciuploads
223224
extract_to: mongo-cxx-driver
224225

225-
"set version latest" :
226-
command: expansions.update
227-
params:
228-
updates:
229-
- key: "mongo_url"
230-
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|"enterprise-"}${mongo_url_platform|}latest.${mongo_url_extension|tgz}
231-
232226
"use WiredTiger storage" :
233227
command: expansions.update
234228
params:
@@ -252,33 +246,47 @@ functions:
252246
# Requires mongo-orchestration 0.4.2
253247
value: "--mongo-orchestration-preset=auth.json"
254248

255-
"set version 3.0" :
249+
"set version 2.2" :
256250
command: expansions.update
257251
params:
258252
updates:
259253
- key: "mongo_url"
260-
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|enterprise-}${mongo_url_platform|}3.0.6.${mongo_url_extension|tgz}
254+
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|subscription-}${mongo_url_platform|}2.2.7.${mongo_url_extension|tgz}
255+
256+
"set version 2.4" :
257+
command: expansions.update
258+
params:
259+
updates:
260+
- key: "mongo_url"
261+
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|subscription-}${mongo_url_platform|}2.4.14.${mongo_url_extension|tgz}
261262

262263
"set version 2.6" :
263264
command: expansions.update
264265
params:
265266
updates:
266267
- key: "mongo_url"
267-
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|enterprise-}${mongo_url_platform|}2.6.11.${mongo_url_extension|tgz}
268+
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|enterprise-}${mongo_url_platform|}2.6.12.${mongo_url_extension|tgz}
268269

269-
"set version 2.4" :
270+
"set version 3.0" :
270271
command: expansions.update
271272
params:
272273
updates:
273274
- key: "mongo_url"
274-
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|subscription-}${mongo_url_platform|}2.4.14.${mongo_url_extension|tgz}
275+
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|enterprise-}${mongo_url_platform|}3.0.11.${mongo_url_extension|tgz}
275276

276-
"set version 2.2" :
277+
"set version 3.2" :
277278
command: expansions.update
278279
params:
279280
updates:
280281
- key: "mongo_url"
281-
value: ${mongo_url_prefix}${mongo_url_subscription_keyword|subscription-}${mongo_url_platform|}2.2.7.${mongo_url_extension|tgz}
282+
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|enterprise-}${mongo_url_platform|}3.2.5.${mongo_url_extension|tgz}
283+
284+
"set version latest" :
285+
command: expansions.update
286+
params:
287+
updates:
288+
- key: "mongo_url"
289+
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|"enterprise-"}${mongo_url_platform|}latest.${mongo_url_extension|tgz}
282290

283291
"run integration tests" :
284292
command: shell.exec
@@ -419,22 +427,21 @@ tasks:
419427
- func: "fetch mongodb"
420428
- func: "run integration tests"
421429

422-
- name: "integration-test-3.0-with-auth"
430+
- name: "integration-test-3.0-with-WiredTiger"
423431
depends_on:
424432
- name: "compile"
425433
commands:
426434
- func: "set version 3.0"
435+
- func: "use WiredTiger storage"
427436
- func: "fetch artifacts"
428-
- func: "use auth"
429437
- func: "fetch mongodb"
430438
- func: "run integration tests"
431439

432-
- name: "integration-test-3.0-with-WiredTiger"
440+
- name: "integration-test-3.2"
433441
depends_on:
434442
- name: "compile"
435443
commands:
436-
- func: "set version 3.0"
437-
- func: "use WiredTiger storage"
444+
- func: "set version 3.2"
438445
- func: "fetch artifacts"
439446
- func: "fetch mongodb"
440447
- func: "run integration tests"
@@ -458,6 +465,16 @@ tasks:
458465
- func: "fetch mongodb"
459466
- func: "run integration tests"
460467

468+
- name: "integration-test-latest-with-auth"
469+
depends_on:
470+
- name: "compile"
471+
commands:
472+
- func: "set version latest"
473+
- func: "fetch artifacts"
474+
- func: "use auth"
475+
- func: "fetch mongodb"
476+
- func: "run integration tests"
477+
461478
- name: "client-test-2.2"
462479
depends_on:
463480
- name: "compile"
@@ -504,6 +521,15 @@ tasks:
504521
- func: "fetch mongodb"
505522
- func: "run client tests"
506523

524+
- name: "client-test-3.2"
525+
depends_on:
526+
- name: "compile"
527+
commands:
528+
- func: "set version 3.0"
529+
- func: "fetch artifacts"
530+
- func: "fetch mongodb"
531+
- func: "run client tests"
532+
507533
- name: "client-test-latest"
508534
depends_on:
509535
- name: "compile"

0 commit comments

Comments
 (0)