chore(tests): accuracy tests for MongoDB tools exposed by MCP server MCP-39 #1250
code_health.yaml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
2m 23s
Report Coverage
26s
Annotations
41 errors, 18 warnings, and 2 notices
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > with existing database > creates new collection:
tests/integration/tools/mongodb/create/createCollection.test.ts#L58
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/tools/mongodb/create/createCollection.test.ts:58:50
|
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with empty arrays:
tests/matchers/toIncludeSameMembers.test.ts#L57
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:57:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with mixed type arrays:
tests/matchers/toIncludeSameMembers.test.ts#L50
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:50:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with object arrays:
tests/matchers/toIncludeSameMembers.test.ts#L43
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:43:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with string arrays:
tests/matchers/toIncludeSameMembers.test.ts#L36
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:36:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should pass when arrays contain the same elements in same order:
tests/matchers/toIncludeSameMembers.test.ts#L15
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:15:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should pass when arrays contain the same elements in different order:
tests/matchers/toIncludeSameMembers.test.ts#L8
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:8:22
|
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > with existing database > creates new collection:
tests/integration/tools/mongodb/create/createCollection.test.ts#L58
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/tools/mongodb/create/createCollection.test.ts:58:50
|
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with empty arrays:
tests/matchers/toIncludeSameMembers.test.ts#L57
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:57:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with mixed type arrays:
tests/matchers/toIncludeSameMembers.test.ts#L50
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:50:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with object arrays:
tests/matchers/toIncludeSameMembers.test.ts#L43
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:43:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with string arrays:
tests/matchers/toIncludeSameMembers.test.ts#L36
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:36:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should pass when arrays contain the same elements in same order:
tests/matchers/toIncludeSameMembers.test.ts#L15
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:15:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should pass when arrays contain the same elements in different order:
tests/matchers/toIncludeSameMembers.test.ts#L8
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:8:22
|
tests/accuracy/drop-collection.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/drop-collection.test.ts:28:1
|
tests/accuracy/delete-many.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/delete-many.test.ts:36:1
|
tests/accuracy/db-stats.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/db-stats.test.ts:19:1
|
tests/accuracy/create-index.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/create-index.test.ts:21:1
|
tests/accuracy/create-collection.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/create-collection.test.ts:30:1
|
tests/accuracy/count.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/count.test.ts:41:1
|
tests/accuracy/collection-storage-size.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/collection-storage-size.test.ts:4:1
|
tests/accuracy/collection-schema.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/collection-schema.test.ts:20:1
|
tests/accuracy/collection-indexes.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/collection-indexes.test.ts:20:1
|
tests/accuracy/aggregate.test.ts:
tests/accuracy/sdk/describe-accuracy-tests.ts#L46
Error: MDB_ACCURACY_RUN_ID env variable is required for accuracy test runs!
❯ describeAccuracyTests tests/accuracy/sdk/describe-accuracy-tests.ts:46:15
❯ tests/accuracy/aggregate.test.ts:4:1
|
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > with existing database > creates new collection:
tests/integration/tools/mongodb/create/createCollection.test.ts#L58
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/tools/mongodb/create/createCollection.test.ts:58:50
|
tests/integration/tools/mongodb/create/createCollection.test.ts > createCollection tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/integration/tools/mongodb/connect/connect.test.ts > Connect tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/integration/tools/mongodb/connect/connect.test.ts > SwitchConnection tool > should have correct metadata:
tests/integration/helpers.ts#L211
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/integration/helpers.ts:211:30
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with empty arrays:
tests/matchers/toIncludeSameMembers.test.ts#L57
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:57:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with mixed type arrays:
tests/matchers/toIncludeSameMembers.test.ts#L50
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:50:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with object arrays:
tests/matchers/toIncludeSameMembers.test.ts#L43
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:43:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should work with string arrays:
tests/matchers/toIncludeSameMembers.test.ts#L36
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:36:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should pass when arrays contain the same elements in same order:
tests/matchers/toIncludeSameMembers.test.ts#L15
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:15:22
|
tests/matchers/toIncludeSameMembers.test.ts > toIncludeSameMembers matcher > should pass when arrays contain the same elements in different order:
tests/matchers/toIncludeSameMembers.test.ts#L8
Error: Invalid Chai property: toIncludeSameMembers
❯ tests/matchers/toIncludeSameMembers.test.ts:8:22
|
Report Coverage
Unable to download artifact(s): Artifact not found for name: test-results
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
|
Run MongoDB tests (ubuntu-latest)
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
Run MongoDB tests (ubuntu-latest)
1 added, 0 removed; done.
|
Run MongoDB tests (ubuntu-latest)
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
|
Run MongoDB tests (ubuntu-latest)
Updating certificates in /etc/ssl/certs...
|
Run MongoDB tests (ubuntu-latest)
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Run MongoDB tests (macos-latest)
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
|
Run MongoDB tests (macos-latest)
pfctl: Use of -f option, could result in flushing of rules
present in the main ruleset added by the system at startup.
See /etc/pf.conf for further details.
No ALTQ support in kernel
ALTQ related functions disabled
|
Run MongoDB tests (macos-latest)
YES (0)
|
Run MongoDB tests (macos-latest)
2025-07-16 11:27:28.271 sysadminctl[977:5983] Creating home directory at /Users/mitmproxyuser
|
Run MongoDB tests (macos-latest)
2025-07-16 11:27:28.219 sysadminctl[977:5983] Assigning UID: 502 GID: 20
|
Run MongoDB tests (macos-latest)
2025-07-16 11:27:28.102 sysadminctl[977:5983] Creating user record…
|
Run MongoDB tests (macos-latest)
IOServiceMatchingfailed for: AppleM2ScalerCSCDriver
|
Run MongoDB tests (macos-latest)
2025-07-16 11:27:27.632 sysadminctl[977:5983] ----------------------------
2025-07-16 11:27:27.633 sysadminctl[977:5983] No clear text password or interactive option was specified (adduser, change/reset password will not allow user to use FDE) !
2025-07-16 11:27:27.633 sysadminctl[977:5983] ----------------------------
|
Run Atlas tests
No files were found with the provided path: coverage/lcov.info. No artifacts will be uploaded.
|
Run Atlas tests
1 added, 0 removed; done.
|
Run Atlas tests
rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL
|
Run Atlas tests
Updating certificates in /etc/ssl/certs...
|
Run Atlas tests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
|
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Run MongoDB tests (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
run-atlas-tests-permissions-c4757aa754c96bf35f4f0845695a3153
Expired
|
140 Bytes |
sha256:0561e10c74435fb4a0359c435a42cc78440949b141968ed8a0f54da34dd49da9
|
|
run-tests-permissions-541841f5ca5a0be58e8ab67938f3fa9f
Expired
|
140 Bytes |
sha256:1fa2715f822cbacf84e3c302cfe278bab73cfe8a3c277f3b7885be065756ec3b
|
|
run-tests-permissions-d1af04da52813564a8908d25dbab5786
Expired
|
140 Bytes |
sha256:a0d7c97b0fa1fa565050ebd749f6b863d4fb4ca276adf280b822dbe906050f98
|
|