Open radical opened 3 months ago
.. similar to how others do this.
https://github.com/dotnet/aspire/blob/44a60c18d9d77110ca0aa3b753476510e4823eb2/tests/Aspire.StackExchange.Redis.Tests/RedisContainerFixture.cs#L11-L43 https://github.com/dotnet/aspire/blob/44a60c18d9d77110ca0aa3b753476510e4823eb2/tests/Aspire.StackExchange.Redis.Tests/ConformanceTests.cs#L18-L19
Currently any tests that need to connect get skipped with Unable to connect to server.
Unable to connect to server
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests
Qdrant
RabbitMq
cc @eerhardt @sebastienros @joperezr
See https://github.com/testcontainers/testcontainers-dotnet/issues/992
RabbitMQ is already using testcontainers:
https://github.com/dotnet/aspire/blob/fecfe0ac15c24de0d569714e64d255efd9a42332/tests/Aspire.RabbitMQ.Client.Tests/RabbitMQContainerFixture.cs#L34-L38
.. similar to how others do this.
https://github.com/dotnet/aspire/blob/44a60c18d9d77110ca0aa3b753476510e4823eb2/tests/Aspire.StackExchange.Redis.Tests/RedisContainerFixture.cs#L11-L43 https://github.com/dotnet/aspire/blob/44a60c18d9d77110ca0aa3b753476510e4823eb2/tests/Aspire.StackExchange.Redis.Tests/ConformanceTests.cs#L18-L19
Currently any tests that need to connect get skipped with
Unable to connect to server
.Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests
.Qdrant
(https://github.com/testcontainers/testcontainers-dotnet/issues/992)(already using testcontainers, see https://github.com/dotnet/aspire/issues/5254#issuecomment-2284325181)RabbitMq
cc @eerhardt @sebastienros @joperezr