Skip to content

Commit 02faeb8

Browse files
CXX-393 Test with Wired Tiger
1 parent f9fa0ca commit 02faeb8

File tree

1 file changed

+37
-10
lines changed

1 file changed

+37
-10
lines changed

.mci.yml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ cxx_driver_variables:
1818
- name: "unit test"
1919
- name: "integration test latest"
2020
- name: "integration test latest with heap1"
21+
- name: "integration test latest with WiredTiger"
2122
- name: "client test latest"
2223
- name: "client test latest with heap1"
24+
- name: "client test latest with WiredTiger"
2325

2426
version_test_list: &version_tests
2527
- name: "compile"
@@ -47,10 +49,6 @@ cxx_driver_variables:
4749
mongo_url_prefix: "http://downloads.mongodb.org/linux/mongodb-linux-i686"
4850
mongo_url_platform: ""
4951

50-
## mongo-orchestration presets
51-
mongo-orchestration_preset:
52-
heap1: &heap1_orchestration_preset "--mongo-orchestration-preset=heap.json"
53-
5452
## Common sets of scons flags
5553
scons_flags:
5654
standard: &scons_flags_64
@@ -166,14 +164,20 @@ functions:
166164
updates:
167165
- key: "mongo_url"
168166
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|"enterprise-"}${mongo_url_platform}-latest.${mongo_url_extension|tgz}
169-
"set version latest with heap1 storage" :
167+
168+
"use heap1 storage" :
169+
command: expansions.update
170+
params:
171+
updates:
172+
- key: "orchestration_preset"
173+
value: "--mongo-orchestration-preset=heap.json"
174+
175+
"use WiredTiger storage" :
170176
command: expansions.update
171177
params:
172178
updates:
173-
- key: "mongo_url"
174-
value: ${mongo_url_prefix}${mongo_url_enterprise_keyword|"enterprise-"}${mongo_url_platform}-latest.${mongo_url_extension|tgz}
175179
- key: "orchestration_preset"
176-
value: *heap1_orchestration_preset
180+
value: "--mongo-orchestration-preset=wiredtiger.json"
177181

178182
"set version 2.6" :
179183
command: expansions.update
@@ -331,7 +335,18 @@ tasks:
331335
depends_on:
332336
- name: "compile"
333337
commands:
334-
- func: "set version latest with heap1 storage"
338+
- func: "set version latest"
339+
- func: "use heap1 storage"
340+
- func: "fetch artifacts"
341+
- func: "fetch mongodb"
342+
- func: "run integration tests"
343+
344+
- name: "integration test latest with WiredTiger"
345+
depends_on:
346+
- name: "compile"
347+
commands:
348+
- func: "set version latest"
349+
- func: "use WiredTiger storage"
335350
- func: "fetch artifacts"
336351
- func: "fetch mongodb"
337352
- func: "run integration tests"
@@ -367,12 +382,24 @@ tasks:
367382
depends_on:
368383
- name: "compile"
369384
commands:
370-
- func: "set version latest with heap1 storage"
385+
- func: "set version latest"
386+
- func: "use heap1 storage"
387+
- func: "fetch artifacts"
388+
- func: "fetch mongodb"
389+
- func: "run client tests"
390+
391+
- name: "client test latest with WiredTiger"
392+
depends_on:
393+
- name: "compile"
394+
commands:
395+
- func: "set version latest"
396+
- func: "use WiredTiger storage"
371397
- func: "fetch artifacts"
372398
- func: "fetch mongodb"
373399
- func: "run client tests"
374400

375401

402+
376403
#######################################
377404
# Buildvariants #
378405
#######################################

0 commit comments

Comments
 (0)