|
1 | 1 | stepback: true |
2 | 2 | command_type: system |
3 | | -exec_timeout_secs: 1200 |
| 3 | +exec_timeout_secs: 1500 |
4 | 4 | timeout: |
5 | 5 | - command: shell.exec |
6 | 6 | params: |
@@ -79,6 +79,7 @@ functions: |
79 | 79 | MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} \ |
80 | 80 | AUTH=${AUTH} SSL=${SSL} \ |
81 | 81 | ORCHESTRATION_FILE=${ORCHESTRATION_FILE} \ |
| 82 | + REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \ |
82 | 83 | bash ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh |
83 | 84 | - command: expansions.update |
84 | 85 | params: |
@@ -111,8 +112,10 @@ functions: |
111 | 112 | rm -f ./prepare_client_encryption.sh |
112 | 113 | fi |
113 | 114 |
|
114 | | - AUTH=${AUTH} SSL=${SSL} UNIFIED=${UNIFIED} MONGODB_URI="${MONGODB_URI}" \ |
115 | | - NODE_VERSION=${NODE_VERSION} SKIP_DEPS=1 NO_EXIT=1 \ |
| 115 | + MONGODB_URI="${MONGODB_URI}" \ |
| 116 | + AUTH=${AUTH} SSL=${SSL} UNIFIED=${UNIFIED} \ |
| 117 | + MONGODB_API_VERSION="${MONGODB_API_VERSION}" \ |
| 118 | + NODE_VERSION=${NODE_VERSION} SKIP_DEPS=${SKIP_DEPS|1} NO_EXIT=${NO_EXIT|1} \ |
116 | 119 | bash ${PROJECT_DIRECTORY}/.evergreen/run-tests.sh |
117 | 120 | run checks: |
118 | 121 | - command: shell.exec |
@@ -496,39 +499,6 @@ post: |
496 | 499 | ignore: |
497 | 500 | - '*.md' |
498 | 501 | tasks: |
499 | | - - name: test-latest-server |
500 | | - tags: |
501 | | - - latest |
502 | | - - server |
503 | | - commands: |
504 | | - - func: install dependencies |
505 | | - - func: bootstrap mongo-orchestration |
506 | | - vars: |
507 | | - VERSION: latest |
508 | | - TOPOLOGY: server |
509 | | - - func: run tests |
510 | | - - name: test-latest-replica_set |
511 | | - tags: |
512 | | - - latest |
513 | | - - replica_set |
514 | | - commands: |
515 | | - - func: install dependencies |
516 | | - - func: bootstrap mongo-orchestration |
517 | | - vars: |
518 | | - VERSION: latest |
519 | | - TOPOLOGY: replica_set |
520 | | - - func: run tests |
521 | | - - name: test-latest-sharded_cluster |
522 | | - tags: |
523 | | - - latest |
524 | | - - sharded_cluster |
525 | | - commands: |
526 | | - - func: install dependencies |
527 | | - - func: bootstrap mongo-orchestration |
528 | | - vars: |
529 | | - VERSION: latest |
530 | | - TOPOLOGY: sharded_cluster |
531 | | - - func: run tests |
532 | 502 | - name: test-latest-server-unified |
533 | 503 | tags: |
534 | 504 | - latest |
@@ -1144,6 +1114,23 @@ tasks: |
1144 | 1114 | - func: run tests |
1145 | 1115 | vars: |
1146 | 1116 | UNIFIED: 1 |
| 1117 | + - name: test-latest-server-v1-api |
| 1118 | + tags: |
| 1119 | + - latest |
| 1120 | + - server |
| 1121 | + - v1-api |
| 1122 | + commands: |
| 1123 | + - func: install dependencies |
| 1124 | + - func: bootstrap mongo-orchestration |
| 1125 | + vars: |
| 1126 | + VERSION: latest |
| 1127 | + TOPOLOGY: server |
| 1128 | + REQUIRE_API_VERSION: '1' |
| 1129 | + - func: run tests |
| 1130 | + vars: |
| 1131 | + MONGODB_API_VERSION: '1' |
| 1132 | + UNIFIED: 1 |
| 1133 | + NO_EXIT: '' |
1147 | 1134 | - name: test-atlas-connectivity |
1148 | 1135 | tags: |
1149 | 1136 | - atlas-connect |
@@ -1562,9 +1549,6 @@ buildvariants: |
1562 | 1549 | expansions: |
1563 | 1550 | NODE_LTS_NAME: fermium |
1564 | 1551 | tasks: &ref_0 |
1565 | | - - test-latest-server |
1566 | | - - test-latest-replica_set |
1567 | | - - test-latest-sharded_cluster |
1568 | 1552 | - test-latest-server-unified |
1569 | 1553 | - test-latest-replica_set-unified |
1570 | 1554 | - test-latest-sharded_cluster-unified |
@@ -1616,6 +1600,7 @@ buildvariants: |
1616 | 1600 | - test-2.6-server-unified |
1617 | 1601 | - test-2.6-replica_set-unified |
1618 | 1602 | - test-2.6-sharded_cluster-unified |
| 1603 | + - test-latest-server-v1-api |
1619 | 1604 | - test-atlas-connectivity |
1620 | 1605 | - test-auth-kerberos-legacy |
1621 | 1606 | - test-auth-kerberos-unified |
@@ -1672,9 +1657,6 @@ buildvariants: |
1672 | 1657 | expansions: |
1673 | 1658 | NODE_LTS_NAME: fermium |
1674 | 1659 | tasks: &ref_1 |
1675 | | - - test-latest-server |
1676 | | - - test-latest-replica_set |
1677 | | - - test-latest-sharded_cluster |
1678 | 1660 | - test-latest-server-unified |
1679 | 1661 | - test-latest-replica_set-unified |
1680 | 1662 | - test-latest-sharded_cluster-unified |
@@ -1726,6 +1708,7 @@ buildvariants: |
1726 | 1708 | - test-2.6-server-unified |
1727 | 1709 | - test-2.6-replica_set-unified |
1728 | 1710 | - test-2.6-sharded_cluster-unified |
| 1711 | + - test-latest-server-v1-api |
1729 | 1712 | - test-atlas-connectivity |
1730 | 1713 | - test-auth-kerberos-legacy |
1731 | 1714 | - test-auth-kerberos-unified |
@@ -1859,9 +1842,6 @@ buildvariants: |
1859 | 1842 | NODE_LTS_NAME: fermium |
1860 | 1843 | CLIENT_ENCRYPTION: true |
1861 | 1844 | tasks: &ref_3 |
1862 | | - - test-latest-server |
1863 | | - - test-latest-replica_set |
1864 | | - - test-latest-sharded_cluster |
1865 | 1845 | - test-latest-server-unified |
1866 | 1846 | - test-latest-replica_set-unified |
1867 | 1847 | - test-latest-sharded_cluster-unified |
@@ -1901,6 +1881,7 @@ buildvariants: |
1901 | 1881 | - test-3.2-server-unified |
1902 | 1882 | - test-3.2-replica_set-unified |
1903 | 1883 | - test-3.2-sharded_cluster-unified |
| 1884 | + - test-latest-server-v1-api |
1904 | 1885 | - test-atlas-connectivity |
1905 | 1886 | - test-auth-kerberos-legacy |
1906 | 1887 | - test-auth-kerberos-unified |
|
0 commit comments