You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/cosmos-provider/SKILL.md
+3-8Lines changed: 3 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,7 @@ Non-relational provider with its own parallel query pipeline. Uses JSON for docu
21
21
-`ETag` for optimistic concurrency
22
22
- No cross-container joins
23
23
24
-
## Azure Cosmos DB Emulator in Docker
24
+
## Azure Cosmos DB Emulator for Tests
25
25
26
-
Cosmos tests on Helix start the emulator from the work item via `PreCommands` that run a Docker container using:
27
-
-`eng/testing/run-cosmos-container.ps1`
28
-
-`eng/testing/run-cosmos-container.sh`
29
-
30
-
These scripts can be invoked locally for testing on machines that don't have the emulator installed, but have docker available.
31
-
32
-
The `Test__Cosmos__SkipConnectionCheck=true` env var is set to prevent tests from being skipped when the emulator failed to start.
26
+
-`TestEnvironment.InitializeAsync()` auto-starts a `Testcontainers.CosmosDb` container when `Test__Cosmos__DefaultConnection` is not set. Set the env var to use an existing emulator instead.
27
+
- Skip tests requiring unsupported features on the Linux emulator with `[CosmosCondition(CosmosCondition.IsNotLinuxEmulator)]`.
0 commit comments