Skip to content

Commit

Permalink
Add test to demonstrate that #825 is fixed
Browse files Browse the repository at this point in the history
Fixes #825 in `main`
  • Loading branch information
lukebakken committed Jun 4, 2024
1 parent a912b00 commit 49841af
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/Test/Integration/TestConnectionShutdown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,12 @@ public async Task TestConsumerDispatcherShutdown()
await WaitAsync(tcs, TimeSpan.FromSeconds(3), "channel shutdown");
Assert.True(m.ConsumerDispatcher.IsShutdown, "dispatcher should be shut down after Close");
}

[Fact]
public async Task TestDisposeAfterAbort_GH825()
{
await _channel.AbortAsync();
_channel.Dispose();
}
}
}

0 comments on commit 49841af

Please sign in to comment.