[jboss-svn-commits] JBL Code SVN: r38012 - labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/resources.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Apr 13 08:41:11 EDT 2012


Author: tomjenkinson
Date: 2012-04-13 08:41:11 -0400 (Fri, 13 Apr 2012)
New Revision: 38012

Modified:
   labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/resources/DHThreadObject3b.java
Log:
JBTM-941 try tripling the timeout

Modified: labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/resources/DHThreadObject3b.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/resources/DHThreadObject3b.java	2012-04-13 12:40:25 UTC (rev 38011)
+++ labs/jbosstm/branches/JBOSSTS_4_16/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/resources/DHThreadObject3b.java	2012-04-13 12:41:11 UTC (rev 38012)
@@ -31,6 +31,8 @@
 
 package com.hp.mwtests.ts.jts.orbspecific.resources;
 
+import com.arjuna.ats.internal.jts.OTSImpleManager;
+import com.arjuna.ats.internal.jts.orbspecific.CurrentImple;
 import com.hp.mwtests.ts.jts.utils.Util;
 
 public class DHThreadObject3b extends Thread
@@ -45,6 +47,10 @@
     {
         for (int i = 0; i < 1000; i++)
         {
+        	CurrentImple current = OTSImpleManager.current();
+        	System.out.println("Tripling the timeout from: " + current.get_timeout());
+        	current.set_timeout(current.get_timeout() * 3);
+        	
             DistributedHammerWorker3.randomOperation(_id, 0);
             Util.highProbYield();
         }



More information about the jboss-svn-commits mailing list