Skip to content

Use DocumentDB image for testing - #46

Merged
adamsitnik merged 8 commits into
CommunityToolkit:mainfrom
adamsitnik:copilot/mevdtestazuredocumentdbconformancetests
Aug 19, 2026
Merged

Use DocumentDB image for testing#46
adamsitnik merged 8 commits into
CommunityToolkit:mainfrom
adamsitnik:copilot/mevdtestazuredocumentdbconformancetests

Conversation

@adamsitnik

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI and others added 7 commits August 18, 2026 16:10
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the MEVD AzureDocumentDB conformance test setup to run against a local DocumentDB container (via Testcontainers) instead of requiring a pre-provisioned cloud instance, and enables the AzureDocumentDB provider in the CI conformance test matrix.

Changes:

  • Start a documentdb-local container in DocumentDBTestStore and build a MongoDB/TLS connection string from the mapped port.
  • Remove the previous DocumentDBTestEnvironment connection-string configuration helper.
  • Add the Testcontainers package dependency and allow AzureDocumentDB conformance tests to run in the mevd.yml workflow matrix.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
MEVD/test/AzureDocumentDB.ConformanceTests/Support/DocumentDBTestStore.cs Switches test store initialization to a local DocumentDB container and waits for readiness via ping.
MEVD/test/AzureDocumentDB.ConformanceTests/Support/DocumentDBTestEnvironment.cs Removes the environment/config-based connection string loader.
MEVD/test/AzureDocumentDB.ConformanceTests/AzureDocumentDB.ConformanceTests.csproj Adds Testcontainers dependency for the new container-based test setup.
.github/workflows/mevd.yml Enables AzureDocumentDB conformance tests to run in CI by removing it from the exclusion list.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread MEVD/test/AzureDocumentDB.ConformanceTests/Support/DocumentDBTestStore.cs Outdated
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
@adamsitnik
adamsitnik merged commit 06e3310 into CommunityToolkit:main Aug 19, 2026
17 checks passed
@adamsitnik
adamsitnik deleted the copilot/mevdtestazuredocumentdbconformancetests branch August 19, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants