Skip to content

Commit

Permalink
Unit test OK.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulissoft committed Sep 17, 2024
1 parent 2ba3615 commit e6c00ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ void testPoolDataSourceConfigurationDomain() {
assertEquals("PoolDataSourceConfigurationHikari(super=PoolDataSourceConfiguration(driverClassName=oracle.jdbc.OracleDriver, " +
"url=jdbc:oracle:thin:@//127.0.0.1:1521/freepdb1, username=bodomain, password=null, " +
"type=class com.paulissoft.pato.jdbc.SimplePoolDataSourceHikari), poolName=null, " +
"maximumPoolSize=14, minimumIdle=0, dataSourceClassName=null, autoCommit=true, connectionTimeout=2750, " +
"idleTimeout=10000, maxLifetime=30000, connectionTestQuery=select 1 from dual, initializationFailTimeout=1, " +
"maximumPoolSize=14, minimumIdle=7, dataSourceClassName=null, autoCommit=true, connectionTimeout=2750, " +
"idleTimeout=600000, maxLifetime=1800000, connectionTestQuery=select 1 from dual, initializationFailTimeout=1, " +
"isolateInternalQueries=false, allowPoolSuspension=false, readOnly=false, registerMbeans=false, " +
"validationTimeout=5000, leakDetectionThreshold=0)",
poolDataSourceConfiguration.toString());
Expand Down Expand Up @@ -113,8 +113,8 @@ void testPoolDataSourceConfigurationOperator() {
assertEquals("PoolDataSourceConfigurationHikari(super=PoolDataSourceConfiguration(driverClassName=oracle.jdbc.OracleDriver, " +
"url=jdbc:oracle:thin:@//127.0.0.1:1521/freepdb1, username=bodomain, password=null, " +
"type=class com.paulissoft.pato.jdbc.SimplePoolDataSourceHikari), poolName=null, " +
"maximumPoolSize=14, minimumIdle=0, dataSourceClassName=null, autoCommit=true, connectionTimeout=2750, " +
"idleTimeout=10000, maxLifetime=30000, connectionTestQuery=select 1 from dual, initializationFailTimeout=1, " +
"maximumPoolSize=14, minimumIdle=7, dataSourceClassName=null, autoCommit=true, connectionTimeout=2750, " +
"idleTimeout=600000, maxLifetime=1800000, connectionTestQuery=select 1 from dual, initializationFailTimeout=1, " +
"isolateInternalQueries=false, allowPoolSuspension=false, readOnly=false, registerMbeans=false, " +
"validationTimeout=5000, leakDetectionThreshold=0)",
poolDataSourceConfiguration.toString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void testPoolDataSourceConfigurationDomain() {
assertEquals("PoolDataSourceConfigurationOracle(super=PoolDataSourceConfiguration(driverClassName=null, " +
"url=jdbc:oracle:thin:@//127.0.0.1:1521/freepdb1, username=bodomain, password=null, " +
"type=class com.paulissoft.pato.jdbc.SimplePoolDataSourceOracle), connectionPoolName=null, " +
"initialPoolSize=0, minPoolSize=0, maxPoolSize=14, connectionFactoryClassName=oracle.jdbc.pool.OracleDataSource, " +
"initialPoolSize=0, minPoolSize=7, maxPoolSize=14, connectionFactoryClassName=oracle.jdbc.pool.OracleDataSource, " +
"validateConnectionOnBorrow=false, abandonedConnectionTimeout=0, timeToLiveConnectionTimeout=0, " +
"inactiveConnectionTimeout=0, timeoutCheckInterval=30, maxStatements=10, connectionWaitDurationInMillis=0, " +
"maxConnectionReuseTime=0, secondsToTrustIdleConnection=0, connectionValidationTimeout=15)",
Expand Down Expand Up @@ -113,7 +113,7 @@ void testPoolDataSourceConfigurationOperator() {
assertEquals("PoolDataSourceConfigurationOracle(super=PoolDataSourceConfiguration(driverClassName=null, " +
"url=jdbc:oracle:thin:@//127.0.0.1:1521/freepdb1, username=bodomain, password=null, " +
"type=class com.paulissoft.pato.jdbc.SimplePoolDataSourceOracle), connectionPoolName=null, " +
"initialPoolSize=0, minPoolSize=0, maxPoolSize=14, connectionFactoryClassName=oracle.jdbc.pool.OracleDataSource, " +
"initialPoolSize=0, minPoolSize=7, maxPoolSize=14, connectionFactoryClassName=oracle.jdbc.pool.OracleDataSource, " +
"validateConnectionOnBorrow=false, abandonedConnectionTimeout=0, timeToLiveConnectionTimeout=0, " +
"inactiveConnectionTimeout=0, timeoutCheckInterval=30, maxStatements=10, connectionWaitDurationInMillis=0, " +
"maxConnectionReuseTime=0, secondsToTrustIdleConnection=0, connectionValidationTimeout=15)",
Expand Down

0 comments on commit e6c00ea

Please sign in to comment.