Skip to content

Commit 29f77f7

Browse files
Improve connection resource leak test
1 parent 1cded21 commit 29f77f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ public void TestHandleLeak()
6363
}
6464
}
6565
Thread.Sleep(TimeSpan.FromSeconds(10));
66+
me = Process.GetCurrentProcess();
6667
Console.WriteLine("{0} handles after the test...", me.HandleCount);
6768
Assert.That(me.HandleCount, Is.LessThanOrEqualTo(n));
6869
}
6970
}
70-
}
71+
}

0 commit comments

Comments
 (0)