Skip to content

Commit a26e086

Browse files
committed
CXX-961 32-bit integration tests should use mmapv1
1 parent a176cea commit a26e086

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

.mci.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ cxx_driver_variables:
1414
- name: "integration-test-latest-with-auth"
1515
- name: "client-test-latest"
1616

17+
## Same as above, but with the MMAPv1 storage engine.
18+
latest_test_with_mmapv1_list: &latest_tests_with_mmapv1
19+
- name: "compile"
20+
- name: "unit-test"
21+
- name: "integration-test-latest-with-MMAPv1"
22+
- name: "integration-test-latest-with-auth-and-MMAPv1"
23+
- name: "client-test-latest-with-MMAPv1"
24+
1725
## Note that the in 3.0, the default storage engine is MMAPv1 and
1826
## WiredTiger is opt-in, but as of MongoDB 3.1.4, the
1927
## default is WiredTiger and MMAPv1 is opt-in.
@@ -474,6 +482,16 @@ tasks:
474482
- func: "fetch mongodb"
475483
- func: "run integration tests"
476484

485+
- name: "integration-test-latest-with-MMAPv1"
486+
depends_on:
487+
- name: "compile"
488+
commands:
489+
- func: "set version latest"
490+
- func: "use MMAPv1 storage"
491+
- func: "fetch artifacts"
492+
- func: "fetch mongodb"
493+
- func: "run integration tests"
494+
477495
- name: "integration-test-latest-with-auth"
478496
depends_on:
479497
- name: "compile"
@@ -484,6 +502,17 @@ tasks:
484502
- func: "fetch mongodb"
485503
- func: "run integration tests"
486504

505+
- name: "integration-test-latest-with-auth-and-MMAPv1"
506+
depends_on:
507+
- name: "compile"
508+
commands:
509+
- func: "set version latest"
510+
- func: "use MMAPv1 storage"
511+
- func: "fetch artifacts"
512+
- func: "use auth"
513+
- func: "fetch mongodb"
514+
- func: "run integration tests"
515+
487516
- name: "client-test-2.2"
488517
depends_on:
489518
- name: "compile"
@@ -558,6 +587,16 @@ tasks:
558587
- func: "fetch mongodb"
559588
- func: "run client tests"
560589

590+
- name: "client-test-latest-with-MMAPv1"
591+
depends_on:
592+
- name: "compile"
593+
commands:
594+
- func: "set version latest"
595+
- func: "use MMAPv1 storage"
596+
- func: "fetch artifacts"
597+
- func: "fetch mongodb"
598+
- func: "run client tests"
599+
561600
#######################################
562601
# Buildvariants #
563602
#######################################
@@ -598,7 +637,8 @@ buildvariants:
598637
<<: *mongo_orchestration_linux
599638
run_on:
600639
- rhel55-test
601-
tasks: *latest_tests
640+
# Need to test with mmapv1, as default storage engine (WiredTiger) doesn't have 32-bit support.
641+
tasks: *latest_tests_with_mmapv1
602642

603643
## Ubuntu 1404
604644

0 commit comments

Comments
 (0)