/// <summary> /// Performs the tasks needed to clean up the environment for the test scenario. /// When multiple instances are run in parallel, the cleanup will take place once, /// after the execution of all test instances. /// </summary> /// public async override Task GlobalCleanupAsync() { await s_producer.CloseAsync().ConfigureAwait(false); await s_scope.DisposeAsync().ConfigureAwait(false); await base.GlobalCleanupAsync().ConfigureAwait(false); }
public async Task FixtureTearDown() { await Task.WhenAll ( _eventHubScope.DisposeAsync().AsTask(), _storageScope.DisposeAsync().AsTask() ); }
public async Task FixtureTearDown() { await _eventHubScope.DisposeAsync(); }
public async Task FixtureTearDown() { await _scope.DisposeAsync(); }