Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e8adaf

Browse files
committed
Make sure connection factory is cleared before run connection pool tests.
1 parent 565660d commit 8e8adaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MongoDB.Net-Tests/Connection/TestConnectionPool.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ namespace MongoDB.Driver.Connection
77
[TestFixture]
88
public class TestConnectionPool
99
{
10+
[TestFixtureSetUp]
11+
public void SetUp()
12+
{
13+
ConnectionFactory.Shutdown();
14+
}
15+
1016
[Test]
1117
public void TestDefaultPoolSizeIsEmpty()
1218
{

0 commit comments

Comments
 (0)