예제 #1
0
    public async ValueTask DisposeAsync()
    {
        await _container.CleanUpAsync();

        await _logStream.DisposeAsync();

        await _resultStream.DisposeAsync();
    }
예제 #2
0
    private async Task ShutdownMongoContainerAsync(TestcontainersContainer container)
    {
        await container.CleanUpAsync();

        await container.DisposeAsync();
    }
        private static async Task ShutdownDatabaseContainerAsync(TestcontainersContainer container)
        {
            await container.CleanUpAsync();

            await container.DisposeAsync();
        }