[jboss-cvs] joramtests/src/main/java/org/objectweb/jtests/jms/framework ...
Clebert Suconic
csuconic at jboss.com
Thu Jun 14 14:39:51 EDT 2007
User: csuconic
Date: 07/06/14 14:39:51
Modified: src/main/java/org/objectweb/jtests/jms/framework
TestConfig.java
Log:
http://jira.jboss.org/jira/browse/JBQA-846 - Changing the default timeout
Revision Changes Path
1.2 +4 -2 joramtests/src/main/java/org/objectweb/jtests/jms/framework/TestConfig.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TestConfig.java
===================================================================
RCS file: /cvsroot/jboss/joramtests/src/main/java/org/objectweb/jtests/jms/framework/TestConfig.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- TestConfig.java 29 Mar 2007 04:28:35 -0000 1.1
+++ TestConfig.java 14 Jun 2007 18:39:51 -0000 1.2
@@ -30,7 +30,7 @@
* Class used to provide configurable options in a convenient way
*
* @author Jeff Mesnil (jmesnil at inrialpes.fr)
- * @version $Id: TestConfig.java,v 1.1 2007/03/29 04:28:35 starksm Exp $
+ * @version $Id: TestConfig.java,v 1.2 2007/06/14 18:39:51 csuconic Exp $
*/
public class TestConfig
{
@@ -54,11 +54,13 @@
{
Properties props = new Properties();
props.load(ClassLoader.getSystemResourceAsStream(PROP_FILE_NAME));
+ System.out.println("Found " + PROP_FILE_NAME);
tempTimeOut = Long.parseLong(props.getProperty(PROP_NAME, "0"));
}
catch (Exception e)
{
- tempTimeOut = 0;
+ e.printStackTrace();
+ tempTimeOut = 30000;
}
finally
{
More information about the jboss-cvs-commits
mailing list