Skip to content

Commit

Permalink
PYTHON-1232 Add Jenkins storage engines test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey committed Feb 23, 2017
1 parent 50c6d23 commit 86a60f4
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .evergreen/config.yml
Expand Up @@ -314,7 +314,7 @@ functions:
params:
script: |
${PREPARE_SHELL}
MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} STORAGE_ENGINE=${STORAGE_ENGINE} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
# run-orchestration generates expansion file with the MONGODB_URI for the cluster
- command: expansions.update
params:
Expand Down Expand Up @@ -824,6 +824,22 @@ axes:
display_name: "Without C Extensions"
variables:
C_EXTENSIONS: "--no_ext"
- id: storage-engine
display_name: Storage
values:
- id: mmapv1
display_name: MMAPv1
variables:
STORAGE_ENGINE: "mmapv1"
- id: wiredtiger
display_name: WiredTiger
variables:
STORAGE_ENGINE: "wiredtiger"
- id: inmemory
display_name: InMemory
variables:
STORAGE_ENGINE: "inmemory"

#- id: windows-vs2008-python-version
# display_name: "Windows Visual Studio 2008 Python"
# values:
Expand Down Expand Up @@ -1173,6 +1189,27 @@ buildvariants:
- name: "test-2.4-sharded_cluster"
- name: "test-2.4-standalone"

# Storage engine tests on Ubuntu 16.04 (x86_64) with Python 2.7.
- matrix_name: "tests-storage-engines"
matrix_spec: {storage-engine: "*", python-version: "2.7"}
display_name: "Storage ${storage-engine} ${python-version} Ubuntu 16.04 (x86_64)"
run_on: ubuntu1604-test
rules:
- if:
storage-engine: ["mmapv1", "inmemory"]
python-version: "*"
then:
add_tasks:
- "test-latest-standalone"
- "test-3.4-standalone"
- "test-3.2-standalone"
- if:
storage-engine: "wiredtiger"
python-version: "*"
then:
add_tasks:
- "test-3.0-standalone"

# Platform notes
# i386 builds of OpenSSL or Cyrus SASL are not available
# Ubuntu14.04 only supports 2.6+ with SSL
Expand Down

0 comments on commit 86a60f4

Please sign in to comment.