Skip to content

Commit 63aeeb8

Browse files
committed
Clean up connection after each test.
1 parent 201a167 commit 63aeeb8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ public override void Init()
8484
Model = Conn.CreateModel();
8585
}
8686

87+
[TearDown]
88+
public void CleanUp()
89+
{
90+
Conn.Close();
91+
}
92+
8793
[Test]
8894
public void TestBasicAckAfterChannelRecovery()
8995
{
@@ -190,7 +196,6 @@ public void TestBasicConnectionRecoveryErrorEvent()
190196
}
191197

192198
[Test]
193-
[Ignore("This test cause the test run to hang at the end.")]
194199
public void TestBasicConnectionRecoveryStopsAfterManualClose()
195200
{
196201
Assert.IsTrue(Conn.IsOpen);

0 commit comments

Comments
 (0)