Modified: db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/SummaryHelperTest.java URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/SummaryHelperTest.java?rev=1231667&r1=1231666&r2=1231667&view=diff ============================================================================== --- db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/SummaryHelperTest.java (original) +++ db/torque/torque4/trunk/torque-test/src/test/java/org/apache/torque/util/SummaryHelperTest.java Sun Jan 15 14:00:18 2012 @@ -26,6 +26,7 @@ import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.torque.BaseRuntimeTestCase; +import org.apache.torque.criteria.Criteria; import org.apache.torque.criteria.SqlEnum; import org.apache.torque.test.Summarize1; import org.apache.torque.test.Summarize1Peer; @@ -180,7 +181,7 @@ public class SummaryHelperTest extends B rec = results.get(3); assertTrue( "GROUP_BY1 valued not correct", - "D1".equals((String) rec.get("GROUP_BY1"))); + "D1".equals(rec.get("GROUP_BY1"))); assertTrue("COUNT_RECS not correct value", ((Integer) rec.get("COUNT_RECS")).intValue() == 4 ); assertTrue("AVG_FLOAT1 not correct value",
Modified: db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties?rev=1231667&r1=1231666&r2=1231667&view=diff ============================================================================== --- db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties (original) +++ db/torque/torque4/trunk/torque-test/src/test/profile/oracle/Torque.properties Sun Jan 15 14:00:18 2012 @@ -32,6 +32,8 @@ torque.dsfactory.bookstore.connection.us torque.dsfactory.bookstore.connection.password = torque torque.dsfactory.bookstore.pool.validationQuery = SELECT 1 FROM DUAL +torque.dsfactory.bookstore.pool.maxWait = 5000 +torque.dsfactory.bookstore.pool.maxWait = 5000 # use Caching. This property is only used if managers are used by generators. torque.manager.useCache = true \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
