Skip to content

Commit 67f1b43

Browse files
authored
Merge pull request #1590 from rabbitmq/rabbitmq-dotnet-client-825-main
Add test to demonstrate that #825 is fixed
2 parents 72713ee + 0a272cd commit 67f1b43

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

projects/Test/Integration/TestConnectionShutdown.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,12 @@ public async Task TestConsumerDispatcherShutdown()
161161
await WaitAsync(tcs, TimeSpan.FromSeconds(3), "channel shutdown");
162162
Assert.True(m.ConsumerDispatcher.IsShutdown, "dispatcher should be shut down after Close");
163163
}
164+
165+
[Fact]
166+
public async Task TestDisposeAfterAbort_GH825()
167+
{
168+
await _channel.AbortAsync();
169+
_channel.Dispose();
170+
}
164171
}
165172
}

0 commit comments

Comments
 (0)