HHH-8302 - add unit test

This commit is contained in:
Laurent RICHARD 2013-06-12 10:18:28 +02:00 committed by Brett Meyer
parent a4fa28d6b8
commit b968048485
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ public class C3P0ConnectionProviderTest extends BaseCoreFunctionalTestCase {
int actual_minPoolSize = (Integer) mBeanServer.getAttribute( obj, "minPoolSize" ); int actual_minPoolSize = (Integer) mBeanServer.getAttribute( obj, "minPoolSize" );
assertEquals( 50, actual_minPoolSize ); assertEquals( 50, actual_minPoolSize );
int actual_initialPoolSize = (Integer) mBeanServer.getAttribute( obj, "initialPoolSize" );
assertEquals( 50, actual_initialPoolSize );
int actual_maxPoolSize = (Integer) mBeanServer.getAttribute( obj, "maxPoolSize" ); int actual_maxPoolSize = (Integer) mBeanServer.getAttribute( obj, "maxPoolSize" );
assertEquals( 800, actual_maxPoolSize ); assertEquals( 800, actual_maxPoolSize );