geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: rev 54941 - geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty
Date Sat, 16 Oct 2004 21:38:17 GMT
Author: djencks
Date: Sat Oct 16 14:38:16 2004
New Revision: 54941

Modified:
   geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/ApplicationTest.java
   geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/SecurityTest.java
Log:
more transaction timeout settings for tests

Modified: geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/ApplicationTest.java
==============================================================================
--- geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/ApplicationTest.java	(original)
+++ geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/ApplicationTest.java	Sat
Oct 16 14:38:16 2004
@@ -119,6 +119,7 @@
         tm = new GBeanMBean(GeronimoTransactionManager.GBEAN_INFO);
         Set patterns = new HashSet();
         patterns.add(ObjectName.getInstance("geronimo.server:j2eeType=JCAManagedConnectionFactory,*"));
+        tm.setAttribute("defaultTransactionTimeoutSeconds", new Integer(10));
         tm.setReferencePatterns("ResourceManagers", patterns);
         start(tmName, tm);
         tcm = new GBeanMBean(TransactionContextManager.GBEAN_INFO);

Modified: geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/SecurityTest.java
==============================================================================
--- geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/SecurityTest.java	(original)
+++ geronimo/trunk/modules/jetty/src/test/org/apache/geronimo/jetty/SecurityTest.java	Sat
Oct 16 14:38:16 2004
@@ -220,6 +220,7 @@
         start(connectorName, connectorGBean);
 
         tm = new GBeanMBean(GeronimoTransactionManager.GBEAN_INFO);
+        tm.setAttribute("defaultTransactionTimeoutSeconds", new Integer(10));
         Set patterns = new HashSet();
         patterns.add(ObjectName.getInstance("geronimo.server:j2eeType=JCAManagedConnectionFactory,*"));
         tm.setReferencePatterns("ResourceManagers", patterns);

Mime
View raw message