Skip to content

Commit 412fe24

Browse files
committed
Account for 3.1.4 storage engine swap
1 parent 17078b8 commit 412fe24

File tree

1 file changed

+41
-6
lines changed

1 file changed

+41
-6
lines changed

.mci.yml

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,20 @@ cxx_driver_variables:
1313
- name: "integration test latest"
1414
- name: "client test latest"
1515

16+
## 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+
## default is WiredTiger and MMAPv1 is opt-in.
1619
storage_engine_test_list: &storage_engine_tests
1720
- name: "compile"
1821
- name: "unit test"
22+
- name: "integration test 3.0"
23+
- name: "integration test 3.0 with WiredTiger"
1924
- name: "integration test latest"
20-
- name: "integration test latest with WiredTiger"
25+
- name: "integration test latest with MMAPv1"
26+
- name: "client test 3.0"
27+
- name: "client test 3.0 with WiredTiger"
2128
- name: "client test latest"
22-
- name: "client test latest with WiredTiger"
29+
- name: "client test latest with MMAPv1"
2330

2431
version_test_list: &version_tests
2532
- name: "compile"
@@ -218,6 +225,14 @@ functions:
218225
- key: "orchestration_preset"
219226
value: "--mongo-orchestration-preset=wiredtiger.json"
220227

228+
"use MMAPv1 storage" :
229+
command: expansions.update
230+
params:
231+
updates:
232+
- key: "orchestration_preset"
233+
# Requires mongo-orchestration 0.4
234+
value: "--mongo-orchestration-preset=mmapv1.json"
235+
221236
"set version 3.0" :
222237
command: expansions.update
223238
params:
@@ -385,6 +400,16 @@ tasks:
385400
- func: "fetch mongodb"
386401
- func: "run integration tests"
387402

403+
- name: "integration test 3.0 with WiredTiger"
404+
depends_on:
405+
- name: "compile"
406+
commands:
407+
- func: "set version 3.0"
408+
- func: "use WiredTiger storage"
409+
- func: "fetch artifacts"
410+
- func: "fetch mongodb"
411+
- func: "run integration tests"
412+
388413
- name: "integration test latest"
389414
depends_on:
390415
- name: "compile"
@@ -394,12 +419,12 @@ tasks:
394419
- func: "fetch mongodb"
395420
- func: "run integration tests"
396421

397-
- name: "integration test latest with WiredTiger"
422+
- name: "integration test latest with MMAPv1"
398423
depends_on:
399424
- name: "compile"
400425
commands:
401426
- func: "set version latest"
402-
- func: "use WiredTiger storage"
427+
- func: "use MMAPv1 storage"
403428
- func: "fetch artifacts"
404429
- func: "fetch mongodb"
405430
- func: "run integration tests"
@@ -440,6 +465,16 @@ tasks:
440465
- func: "fetch mongodb"
441466
- func: "run client tests"
442467

468+
- name: "client test 3.0 with WiredTiger"
469+
depends_on:
470+
- name: "compile"
471+
commands:
472+
- func: "set version 3.0"
473+
- func: "use WiredTiger storage"
474+
- func: "fetch artifacts"
475+
- func: "fetch mongodb"
476+
- func: "run client tests"
477+
443478
- name: "client test latest"
444479
depends_on:
445480
- name: "compile"
@@ -449,12 +484,12 @@ tasks:
449484
- func: "fetch mongodb"
450485
- func: "run client tests"
451486

452-
- name: "client test latest with WiredTiger"
487+
- name: "client test latest with MMAPv1"
453488
depends_on:
454489
- name: "compile"
455490
commands:
456491
- func: "set version latest"
457-
- func: "use WiredTiger storage"
492+
- func: "use MMAPv1 storage"
458493
- func: "fetch artifacts"
459494
- func: "fetch mongodb"
460495
- func: "run client tests"

0 commit comments

Comments
 (0)