File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
NETProvider/src/FirebirdSql.Data.UnitTests Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -149,32 +149,6 @@ public void FbConnectionStringBuilderTest()
149
149
} ) ;
150
150
}
151
151
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
-
178
152
[ Test ]
179
153
public void ConnectionPoolingTimeOutTest ( )
180
154
{
You can’t perform that action at this time.
0 commit comments