chore: use describeWithMongoDB to setup test suites instead of custom… #181
code-health.yml
on: push
Matrix: Run MongoDB tests
Run Atlas tests
21m 38s
Report Coverage
59s
Annotations
4 errors and 7 warnings
|
Run Atlas tests
Process completed with exit code 1.
|
|
tests/integration/tools/atlas/performanceAdvisor.test.ts > performanceAdvisor > with project > atlas-get-performance-advisor:
tests/integration/tools/atlas/performanceAdvisor.test.ts#L22
Error: Hook timed out in 1200000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
❯ tests/integration/tools/atlas/performanceAdvisor.test.ts:22:13
|
|
tests/integration/tools/atlas/orgs.test.ts > orgs > atlas-list-orgs > returns org names:
tests/integration/tools/atlas/orgs.test.ts#L16
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:16:39
|
|
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-0886b5a8e8c51417938aee2eaa615889
|
140 Bytes |
sha256:3c9fc64719d8511c45f53c8a53862262a33b7767969895abac6d3c89f7f8a1c6
|
|
|
run-tests-permissions-e36389b72e38c95137d6fd42deddd622
|
140 Bytes |
sha256:e00a26186a55951b028983376c089dbcd0203a606d5d07b5fce3b69774e6a16e
|
|
|
test-results
|
24.6 KB |
sha256:802bbbdb2d1cde6bb3db788f135e5e177af80e0a31e935b34063bf121b02708c
|
|