Replies: 1 comment 8 replies
-
Thanks for sharing this @noh626. There is an upstream issue with the image and GHA (see Azure/azure-cosmos-db-emulator-docker#56), and I guess AzurePipelines will use similar runners in some way, so I imagine it can be related. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to integrate TestContainers into my integration tests, which use Cosmos DB. While everything works fine locally, the tests often fail unexpectedly in the Azure pipeline.
This is my setup to run the Cosmos DB emulator container:
I'm using Hyper-V isolation mode since the host agent is Windows Server 2022, and the Cosmos DB emulator is not compatible with it. However, I frequently encounter the following error:
The error message indicates that the container is deleted before the test runs. Additionally, I sometimes get a different error message even when running the same code:
It seems like the container readiness checks are failing intermittently, causing the tests to fail.
Did I miss something in my configuration? Any advice on how to resolve these issues would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions