Skip to content

Commit 6fe28c9

Browse files
committed
This test tests nothing real.
1 parent 5a77658 commit 6fe28c9

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

NETProvider/src/FirebirdSql.Data.UnitTests/FbConnectionTests.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -149,32 +149,6 @@ public void FbConnectionStringBuilderTest()
149149
});
150150
}
151151

152-
[Test]
153-
public void ConnectionPoolingTest()
154-
{
155-
FbConnection.ClearAllPools();
156-
FbConnectionStringBuilder csb = BuildConnectionStringBuilder(this.FbServerType);
157-
158-
csb.Pooling = true;
159-
csb.ConnectionLifeTime = 5;
160-
string cs = csb.ToString();
161-
162-
FbConnection myConnection1 = new FbConnection(cs);
163-
FbConnection myConnection2 = new FbConnection(cs);
164-
165-
int active = GetActiveConnections();
166-
167-
Console.WriteLine("Open two connections.");
168-
myConnection1.Open();
169-
myConnection2.Open();
170-
Assert.AreEqual(active + 2, GetActiveConnections());
171-
172-
Console.WriteLine("Return both of the connections to the pool.");
173-
myConnection1.Close();
174-
myConnection2.Close();
175-
Assert.AreEqual(active + 2, GetActiveConnections());
176-
}
177-
178152
[Test]
179153
public void ConnectionPoolingTimeOutTest()
180154
{

0 commit comments

Comments
 (0)