fix: accuracy test fixes #195
code-health.yml
on: pull_request
Matrix: Run MongoDB tests
Run Atlas tests
12m 43s
Report Coverage
49s
Annotations
3 errors and 7 warnings
|
Run Atlas tests
Process completed with exit code 1.
|
|
tests/integration/tools/atlas/orgs.test.ts > orgs > with credentials > atlas-list-orgs > returns org names:
tests/integration/tools/atlas/orgs.test.ts#L17
AssertionError: expected 'Unable to authenticate with MongoDB A…' to contain 'Found 1 organizations'
- Expected
+ Received
- Found 1 organizations
+ Unable to authenticate with MongoDB Atlas, API error: [401 Unauthorized] error calling Atlas API: Unauthorized; You are not authorized for this resource.
+
+ Hint: Your API credentials may be invalid, expired or lack permissions.
+ Please check your Atlas API credentials and ensure they have the appropriate permissions.
+ For more information on setting up API keys, visit: https://www.mongodb.com/docs/atlas/configure-api-access/
❯ tests/integration/tools/atlas/orgs.test.ts:17:43
|
|
Report Coverage
Unable to download artifact(s): Artifact not found for name: atlas-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)
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 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...
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
run-atlas-tests-permissions-68545a39e96ee5afe9f0d1bf3c422be3
|
140 Bytes |
sha256:799abc8e4e257a8c7d6e7013f75ee0ffea9aded49f921a46acc0284c303b2fc7
|
|
|
run-tests-permissions-ba1cc2f0dc363e65323215156ea95436
|
140 Bytes |
sha256:064fd9d7dad2f99d0668145d2151f1845c0b064a948a4710fca24b1eaa26d465
|
|
|
test-results
|
25.2 KB |
sha256:e8999c1a7e6fe473269b4a430337dc22300a9ec3a9b8e687789a0ad962d737fa
|
|