We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973e5da commit c0e2957Copy full SHA for c0e2957
projects/Test/Integration/TestConnectionShutdown.cs
@@ -31,6 +31,7 @@
31
32
using System;
33
using System.IO;
34
+using System.Threading.Channels;
35
using System.Threading.Tasks;
36
using RabbitMQ.Client;
37
using RabbitMQ.Client.Exceptions;
@@ -109,6 +110,10 @@ public async Task TestDisposedWithSocketClosedOutOfBand()
109
110
await WaitAsync(tcs, WaitSpan, "channel shutdown");
111
await frameHandlerCloseTask.WaitAsync(WaitSpan);
112
}
113
+ catch (ChannelClosedException)
114
+ {
115
+ _output.WriteLine("[INFO] saw ChannelClosedException");
116
+ }
117
finally
118
{
119
_conn = null;
0 commit comments