[jboss-svn-commits] JBL Code SVN: r37617 - labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Oct 19 15:23:59 EDT 2011
Author: tomjenkinson
Date: 2011-10-19 15:23:58 -0400 (Wed, 19 Oct 2011)
New Revision: 37617
Added:
labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/leaveorphan.txt
Modified:
labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/fail2pc.txt
Log:
JBTM-917 added a test to make sure that the orphan filter for subordinate nodes is working
Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/fail2pc.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/fail2pc.txt 2011-10-19 19:23:20 UTC (rev 37616)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/fail2pc.txt 2011-10-19 19:23:58 UTC (rev 37617)
@@ -4,11 +4,6 @@
# actions performed by the recovery code
#########################################################################
-# rules to identify progress of the periodic recovery listener thread
-#
-
-# if a test has set up a rendezvous under key "PR recovery pass begin" then
-# enter the rendezvous before starting the recovery run
RULE Fail 2PC
CLASS com.arjuna.ats.arjuna.coordinator.BasicAction
METHOD phase2Commit
Added: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/leaveorphan.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/leaveorphan.txt (rev 0)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/tests/byteman-scripts/leaveorphan.txt 2011-10-19 19:23:58 UTC (rev 37617)
@@ -0,0 +1,28 @@
+########################################################################
+#
+# byteman script used to ensure that tests can synchronize with various
+# actions performed by the recovery code
+
+#########################################################################
+
+RULE Fail resource prepare finishing
+CLASS com.arjuna.ats.jta.distributed.TestResource
+METHOD prepare
+AT EXIT
+BIND NOTHING
+IF TRUE
+ DO debug("Neutralizing target"),
+ Thread.currentThread().stop()
+ENDRULE
+
+
+#########################################################################
+RULE Fail phase2abort ;)
+CLASS com.arjuna.ats.arjuna.coordinator.BasicAction
+METHOD prepare
+AT EXIT
+BIND NOTHING
+IF TRUE
+ DO debug("Target neutralized"),
+ Thread.currentThread().stop()
+ENDRULE
More information about the jboss-svn-commits
mailing list