#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously private async Task DisposeEnvironment(DockerEnvironment environment) #pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously { #if !DEBUG await environment.Down(); await environment.DisposeAsync(); #endif }
public async Task DisposeAsync() { TestClient.Dispose(); _host.Dispose(); #if !DEBUG await _environment.DisposeAsync(); #endif }
public async Task DisposeAsync() { if (Collection != null) { await _configuration.DisposeAsync(Collection); } await _environment.Down(); await _environment.DisposeAsync(); }
public async Task GlobalCleanup() { await _env.Down(); await _env.DisposeAsync(); }
public async Task OneTimeTearDown() { await _dockerEnvironment.DisposeAsync(); await DbContext.DisposeAsync(); }
public async Task DisposeAsync() { await m_environment.DisposeAsync(); Dispose(); }