Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Enhanced.Testing.Component/ContainerHarness.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using DotNet.Testcontainers.Containers;
using Microsoft.Extensions.Configuration;

namespace Enhanced.Testing.Component;

Expand Down Expand Up @@ -54,7 +53,7 @@ protected override async Task OnStop(CancellationToken cancellationToken)
{
if (_container is not null)
{
await _container.StopAsync(cancellationToken).ConfigureAwait(false);
await _container.DisposeAsync().ConfigureAwait(false);
}
}

Expand Down