Skip to content

Commit

Permalink
Merge branch 'main' into feature/issue_253_AddActiveMqHosting
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell authored Nov 24, 2024
2 parents 581823e + cd43093 commit ef2ab98
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/CommunityToolkit.Aspire.Testing/AspireIntegrationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ protected override void OnBuilderCreated(DistributedApplicationBuilder applicati
base.OnBuilderCreated(applicationBuilder);
}

public async override ValueTask DisposeAsync()
{
try
{
await base.DisposeAsync();
}
catch (Exception)
{
// Ignore exceptions during disposal
}
}

public Task InitializeAsync() => StartAsync().WaitAsync(TimeSpan.FromMinutes(10));

async Task IAsyncLifetime.DisposeAsync() => await DisposeAsync();
Expand Down

0 comments on commit ef2ab98

Please sign in to comment.