Persistent container recreated in every test run #6891
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
untriaged
New issue has not been triaged
Is there an existing issue for this?
Describe the bug
Container runtime: Podman 5.3.0
Debug the AppHost several times, then use
podman ps
to list containers - there is only one. This is expected and desired behavior.Create an Aspire test project and uncomment the sample test. Run the test several times, then use
podman ps
to list containers. There is one container per test run, all in "up" state. For example, if I run the test 10 times, there will be 10 containers created and all in "up" state.Expected Behavior
Only one persistent container created for any number of test runs.
Steps To Reproduce
Create an Aspire test project and uncomment the sample test. Run the test several times, then use
podman ps
to list containers.Exceptions (if any)
No response
.NET Version info
.NET SDK:
Version: 9.0.101
Commit: eedb237549
Workload version: 9.0.100-manifests.4a280210
MSBuild version: 17.12.12+1cce77968
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.101\
Project target framework: NET 8.0
Aspire version: 9.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: