Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing using CosmosDB Emulator fails sometimes #8659

Open
nopcoder opened this issue Feb 16, 2025 · 0 comments · May be fixed by #8660
Open

Testing using CosmosDB Emulator fails sometimes #8659

nopcoder opened this issue Feb 16, 2025 · 0 comments · May be fixed by #8660
Assignees
Labels
area/testing Improvements or additions to tests

Comments

@nopcoder
Copy link
Contributor

Out kv tests using CosmosDB fails on non Windows OS (using the emulator).

Tests fails with the following error:

2025/02/16 09:14:19 Waiting up to 5m0s for emulator to start
2025/02/16 09:14:35 Creating database test-db
0x02025/02/16 09:14:36 creating database: failed to retrieve account properties: GET https://localhost:32774
--------------------------------------------------------------------------------
RESPONSE 403: 403 Forbidden
ERROR CODE: 403 Forbidden
--------------------------------------------------------------------------------
{
  "code": "Forbidden",
  "message": "Database Account localhost does not exist\r\nActivityId: 7d57ba83-dcfb-4590-b44d-265a78c60098, Microsoft.Azure.Documents.Common/2.14.0"
}
--------------------------------------------------------------------------------

Limit the tests on specific OS until the emulator can be used safely

@nopcoder nopcoder added the area/testing Improvements or additions to tests label Feb 16, 2025
@nopcoder nopcoder self-assigned this Feb 16, 2025
@nopcoder nopcoder changed the title Testing using CosmosDB on non-windows fails Testing using CosmosDB Emulator fails sometimes Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing Improvements or additions to tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant