Skip to content

Commit 6a2f259

Browse files
Remove a fragile duplicate test
Connection recovery failure events are already used in another test.
1 parent 99d375b commit 6a2f259

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

projects/client/Unit/src/unit/TestConnectionRecovery.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -180,21 +180,6 @@ public void TestBasicConnectionRecoveryWithEndpointList()
180180
}
181181
}
182182

183-
[Test]
184-
public void TestBasicConnectionRecoveryErrorEvent()
185-
{
186-
Assert.IsTrue(Conn.IsOpen);
187-
using(var c = CreateAutorecoveringConnection())
188-
{
189-
var latch = new AutoResetEvent(false);
190-
c.ConnectionRecoveryError += (o, _args) => latch.Set();
191-
StopRabbitMQ();
192-
latch.WaitOne(30000);
193-
StartRabbitMQ();
194-
WaitForRecovery(c);
195-
}
196-
}
197-
198183
[Test]
199184
public void TestBasicConnectionRecoveryStopsAfterManualClose()
200185
{

0 commit comments

Comments
 (0)