Skip to content

Commit ba075c8

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents 891e77d + 5d49e65 commit ba075c8

File tree

143 files changed

+5757
-4235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+5757
-4235
lines changed

.evergreen/buildvariants-and-tasks.in.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,14 @@ buildvariants:
246246
- name: e2e-coverage-<%= group.number %>
247247
<% } %>
248248

249+
- name: e2e-multiple-connections
250+
display_name: E2E Multiple Connections
251+
run_on: ubuntu2004-large
252+
tasks:
253+
<% for(const group of E2E_TEST_GROUPS) { %>
254+
- name: e2e-multiple-connections-<%= group.number %>
255+
<% } %>
256+
249257
- name: csfle-tests
250258
display_name: CSFLE Tests
251259
run_on: ubuntu2004-large
@@ -332,6 +340,20 @@ tasks:
332340
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'
333341
<% } %>
334342

343+
<% for(const group of E2E_TEST_GROUPS) { %>
344+
- name: e2e-multiple-connections-<%= group.number %>
345+
tags: ['required-for-publish', 'run-on-pr']
346+
commands:
347+
- func: prepare
348+
- func: install
349+
- func: bootstrap
350+
- func: test-multiple-connections
351+
vars:
352+
e2e_test_groups: <%= E2E_TEST_GROUPS.length %>
353+
e2e_test_group: <%= group.number %>
354+
debug: 'compass-e2e-tests*,electron*,hadron*,mongo*'
355+
<% } %>
356+
335357
- name: generate-vulnerability-report
336358
tags: ['required-for-publish', 'run-on-pr']
337359
commands:

.evergreen/buildvariants-and-tasks.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,13 @@ buildvariants:
220220
- name: e2e-coverage-1
221221
- name: e2e-coverage-2
222222
- name: e2e-coverage-3
223+
- name: e2e-multiple-connections
224+
display_name: E2E Multiple Connections
225+
run_on: ubuntu2004-large
226+
tasks:
227+
- name: e2e-multiple-connections-1
228+
- name: e2e-multiple-connections-2
229+
- name: e2e-multiple-connections-3
223230
- name: csfle-tests
224231
display_name: CSFLE Tests
225232
run_on: ubuntu2004-large
@@ -331,6 +338,45 @@ tasks:
331338
e2e_test_groups: 3
332339
e2e_test_group: 3
333340
debug: compass-e2e-tests*,electron*,hadron*,mongo*
341+
- name: e2e-multiple-connections-1
342+
tags:
343+
- required-for-publish
344+
- run-on-pr
345+
commands:
346+
- func: prepare
347+
- func: install
348+
- func: bootstrap
349+
- func: test-multiple-connections
350+
vars:
351+
e2e_test_groups: 3
352+
e2e_test_group: 1
353+
debug: compass-e2e-tests*,electron*,hadron*,mongo*
354+
- name: e2e-multiple-connections-2
355+
tags:
356+
- required-for-publish
357+
- run-on-pr
358+
commands:
359+
- func: prepare
360+
- func: install
361+
- func: bootstrap
362+
- func: test-multiple-connections
363+
vars:
364+
e2e_test_groups: 3
365+
e2e_test_group: 2
366+
debug: compass-e2e-tests*,electron*,hadron*,mongo*
367+
- name: e2e-multiple-connections-3
368+
tags:
369+
- required-for-publish
370+
- run-on-pr
371+
commands:
372+
- func: prepare
373+
- func: install
374+
- func: bootstrap
375+
- func: test-multiple-connections
376+
vars:
377+
e2e_test_groups: 3
378+
e2e_test_group: 3
379+
debug: compass-e2e-tests*,electron*,hadron*,mongo*
334380
- name: generate-vulnerability-report
335381
tags:
336382
- required-for-publish

.evergreen/functions.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,30 @@ functions:
581581
582582
tar czf coverage.tgz packages/compass-e2e-tests/coverage
583583
584+
test-multiple-connections:
585+
- command: shell.exec
586+
# Fail the task if it's idle for 10 mins
587+
timeout_secs: 600
588+
params:
589+
working_dir: src
590+
shell: bash
591+
env:
592+
<<: *compass-env
593+
DEBUG: ${debug|}
594+
MONGODB_VERSION: ${mongodb_version|}
595+
MONGODB_RUNNER_VERSION: ${mongodb_version|}
596+
E2E_TEST_GROUPS: ${e2e_test_groups}
597+
E2E_TEST_GROUP: ${e2e_test_group}
598+
script: |
599+
set -e
600+
# Load environment variables
601+
eval $(.evergreen/print-compass-env.sh)
602+
603+
echo "Running E2E tests for multiple connections"
604+
605+
npm run --unsafe-perm --workspace compass-e2e-tests test-ci -- -- --test-multiple-connections
606+
607+
584608
test-packaged-app:
585609
- command: shell.exec
586610
# Fail the task if it's idle for 10 mins

.github/workflows/authors-and-third-party-notices.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,4 @@ jobs:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
run: |
7070
gh pr merge $PULL_REQUEST_NUMBER --squash --delete-branch
71+
gh workflow run codeql.yml -r main

THIRD-PARTY-NOTICES.md

Lines changed: 211 additions & 308 deletions
Large diffs are not rendered by default.

configs/eslint-config-compass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mongodb-js/eslint-config-compass",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Shared Compass eslint configuration",
55
"license": "SSPL",
66
"main": "index.js",

configs/webpack-config-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"email": "[email protected]"
1414
},
1515
"homepage": "https://github.com/mongodb-js/compass",
16-
"version": "1.3.10",
16+
"version": "1.3.11",
1717
"repository": {
1818
"type": "git",
1919
"url": "https://github.com/mongodb-js/compass.git"
@@ -45,7 +45,7 @@
4545
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
4646
},
4747
"devDependencies": {
48-
"@mongodb-js/eslint-config-compass": "^1.1.1",
48+
"@mongodb-js/eslint-config-compass": "^1.1.2",
4949
"@mongodb-js/prettier-config-compass": "^1.0.2",
5050
"@mongodb-js/tsconfig-compass": "^1.0.4",
5151
"@types/cli-progress": "^3.9.2",

0 commit comments

Comments
 (0)