[jboss-svn-commits] JBL Code SVN: r37845 - labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jan 16 04:16:14 EST 2012
Author: paul.robinson
Date: 2012-01-16 04:16:13 -0500 (Mon, 16 Jan 2012)
New Revision: 37845
Modified:
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringOnePhaseCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATHeuristicRecoveryAfterDelayedCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATParticipantCrashAndRecover.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringPrepare.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringOnePhaseCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.txt
labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringComplete.txt
Log:
JBTM-1014 JBTM-1017 JBTM-1018 JBTM-1015
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -161,7 +161,7 @@
# After the first boot the JVM should exit leaving the following in file testlog
#
# prepare on non recovered coordinator engine XXXXXX
-# prepared received for participant XXXXXX
+# received prepared message for coordinator engine XXXXXX
# prepare on non recovered coordinator engine XXXXXX
# prepared received for participant XXXXXX
# prepare on non recovered coordinator engine XXXXXX
@@ -178,11 +178,28 @@
# prepared received for participant XXXXXX
# prepared received for participant XXXXXX
# JVM exit
+# created recovered coordinator engine XXXXXX
+# created recovered coordinator engine XXXXXX
+# created recovered coordinator engine XXXXXX
# commit on recovered coordinator engine XXXXXX
# commit on recovered coordinator engine XXXXXX
# commit on recovered coordinator engine XXXXXX
+# removed committed transaction XXXXXX
#
#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
+#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
# will go to this file
@@ -295,7 +312,7 @@
# progressed as expected.
RULE trace prepared replay
-CLASS org.jboss.jbossts.xts.recovery.coordinator.at.RecoverACCoordinator
+CLASS org.jboss.jbossts.xts.recovery.coordinator.at.RecoveryATCoordinator
METHOD replayPhase2
AT INVOKE phase2Commit
BIND coordinator = $0,
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringOnePhaseCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringOnePhaseCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATCrashDuringOnePhaseCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -189,10 +189,22 @@
# created recovered participant engine XXXXXX
# prepared sent for recovered participant engine XXXXXX
# rollback received for recovered participant XXXXXX
-# rollback called for participant XXXXXX
# JVM exit
#
#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
+#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
# will go to this file. n.b. this runs in both AS1 and AS2 so it is
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATHeuristicRecoveryAfterDelayedCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATHeuristicRecoveryAfterDelayedCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATHeuristicRecoveryAfterDelayedCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -187,6 +187,19 @@
# countdown completed for D7f000001:cebc:496f3b83:73
# countdown completed for D7f000001:cebc:496f3b83:76
# removed committed transaction
+#
+#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
#######################################################################
# This rule opens a file for the trace output during XTS startup
@@ -307,7 +320,7 @@
# progressed as expected.
RULE trace prepared replay
-CLASS org.jboss.jbossts.xts.recovery.coordinator.at.RecoverACCoordinator
+CLASS org.jboss.jbossts.xts.recovery.coordinator.at.RecoveryATCoordinator
METHOD replayPhase2
AT INVOKE phase2Commit
BIND coordinator = $0,
@@ -327,7 +340,7 @@
# progressed as expected.
RULE trace heuristic committed replay
-CLASS org.jboss.jbossts.xts.recovery.coordinator.at.RecoverACCoordinator
+CLASS org.jboss.jbossts.xts.recovery.coordinator.at.RecoveryATCoordinator
METHOD replayPhase2
AT INVOKE phase2Commit
BIND coordinator = $0,
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATParticipantCrashAndRecover.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATParticipantCrashAndRecover.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATParticipantCrashAndRecover.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -174,7 +174,20 @@
# Expected output AS2
# -------------------
# ???
+#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
######################################################################
# AS1 Rule set
#######################################################################
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -193,6 +193,20 @@
# JVM exit
#
#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
+
+#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
# will go to this file
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringPrepare.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringPrepare.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/ATSubordinateCrashDuringPrepare.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -242,6 +242,20 @@
# JVM exit
#
#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
+
+#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
# will go to this file
@@ -266,18 +280,6 @@
ENDRULE
#######################################################################
-# This rule resets the periodic recovery wait period to 10 seconds
-# in order to speed up the test
-#
-RULE reset periodic recovery wait time
-CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
-METHOD getPeriodicRecoveryPeriod()
-AT ENTRY
-IF TRUE
-DO return 10
-ENDRULE
-
-#######################################################################
## rules for first run of AS
#######################################################################
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -165,7 +165,7 @@
# if this is not set the value used defaults to
# http://localhost:8080/xtstest/xtsservicetest1
#
-# org.jboss.jbossts.xts.servicetests.test.ba.MultiParticipantCoordinatorCompletionParticipantExitAndCloseTest
+# org.jboss.jbossts.xts.servicetests.test.ba.MultiParticipantCoordinatorCompletionParticipantCloseAndExitTest
# this test invokes a single service registering 3 coordinator completion participants
# it sends an exit to the first participant before closing the activity
# the location of service is defined by defining a system property:
@@ -173,7 +173,7 @@
# if this is not set the value used defaults to
# http://localhost:8080/xtstest/xtsservicetest1
#
-# org.jboss.jbossts.xts.servicetests.test.ba.MultiParticipantParticipantCompletionParticipantExitAndCloseTest
+# org.jboss.jbossts.xts.servicetests.test.ba.MultiParticipantParticipantCompletionParticipantCloseAndExitTest
# this test invokes a single service registering 3 participant completion participants
# it sends an exit to the first participant and completed to the other participants
# before closing the activity
@@ -278,6 +278,20 @@
# removed committed activity XXXXXX
#
#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
+
+#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
# will go to this file
@@ -506,7 +520,7 @@
BIND engine:CoordinatorEngine = $0,
recovered:boolean = engine.isRecovered(),
identifier:String = engine.getId()
-IF NOT recovered
+IF recovered
DO debug("received closed message for participant completion participant stub " + identifier),
traceln("log", "received closed message for participant completion participant stub " + identifier)
ENDRULE
@@ -523,7 +537,7 @@
BIND engine:CoordinatorEngine = $0,
recovered:boolean = engine.isRecovered(),
identifier:String = engine.getId()
-IF NOT recovered
+IF recovered
DO debug("received closed message for coordinator completion participant stub " + identifier),
traceln("log", "received closed message for coordinator completion participant stub " + identifier)
ENDRULE
@@ -535,7 +549,7 @@
# progressed as expected.
RULE trace prepared replay
-CLASS org.jboss.jbossts.xts.recovery.coordinator.ba.RecoverACCoordinator
+CLASS org.jboss.jbossts.xts.recovery.coordinator.ba.RecoveryBACoordinator
METHOD replayPhase2
AT INVOKE phase2Commit
BIND coordinator = $0,
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringOnePhaseCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringOnePhaseCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BACrashDuringOnePhaseCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -179,14 +179,14 @@
# After the first boot AS1 should exit leaving output in the following
# format in file testlog
#
-# sent complete message for XXXXXXX completion engine XXXXXX
+# sent complete message for XXXXXXX completion engine XXXXXX (Coordinator Completion only)
# received completed message for XXXXXXX completion engine XXXXXX
-# sent close message for XXXXXXX completion engine XXXXXX
+# sent close message for XXXXXXX completion engine XXXXXX (2 x VM scenario only)
# JVM exit
#
# AS2 should exit leaving output in the following format in file testlog
#
-# received complete message for XXXXXXX completion participant XXXXXX
+# received complete message for XXXXXXX completion participant XXXXXX (Coordinator Completion only)
# sent completed message for XXXXXXX completion participant XXXXXX
# received close message for XXXXXXX completion participant XXXXXX
# JVM exit
@@ -194,7 +194,7 @@
# After reboot AS1 should exit leaving output in the following format in file
# testlog
#
-# sent complete message for XXXXXXX completion engine XXXXXX
+# sent complete message for XXXXXXX completion engine XXXXXX (Coordinator Completion only)
# received completed message for XXXXXXX completion engine XXXXXX
# sent close message for XXXXXXX completion engine XXXXXX
# JVM exit
@@ -204,17 +204,31 @@
#
# AS2 should exit leaving output in the following format in file testlog
#
-# received complete message for XXXXXXX completion participant XXXXXX
+# received complete message for XXXXXXX completion participant XXXXXX (Coordinator Completion only)
# sent completed message for XXXXXXX completion participant XXXXXX
# received close message for XXXXXXX completion participant XXXXXX
# JVM exit
-# recreated XXXXXXX completion participant XXXXXX
+# created recovered XXXXXXX completion participant XXXXXX
# sent getstatus for XXXXXXX completion participant XXXXXX
# received invalidstate fault for XXXXXXX completion participant XXXXXX
# compensated recovered XXXXXXX completion participant XXXXXX
# JVM exit
#
#######################################################################
+# This rule resets the periodic recovery wait period to 10 seconds
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
+#
+RULE reset periodic recovery wait time
+CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
+METHOD getPeriodicRecoveryPeriod()
+AT ENTRY
+IF TRUE
+DO return 10
+ENDRULE
+
+
+#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
# will go to this file
@@ -667,7 +681,7 @@
IF TRUE
DO debug("!!! killing JVM !!! " + identifier),
traceln("log", "JVM exit"),
- killJVM()
+ #killJVM()
ENDRULE
#######################################################################
@@ -683,6 +697,6 @@
IF TRUE
DO debug("!!! killing JVM !!! " + identifier),
traceln("log", "JVM exit"),
- killJVM()
+ #killJVM()
ENDRULE
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -279,27 +279,27 @@
# created recovered CC/PC coordinator engine XXXXXX
# reinstated prepared subordinate transaction XXXXXX
# replaying commit for prepared transaction XXXXXX
-# close sent for participant engine XXXXXX
-# close received for participant XXXXXX
-# closed sent for participant XXXXXX
-# closed received for participant engine XXXXXX
-# close sent for participant engine XXXXXX
-# close received for participant XXXXXX
+# send close for participant engine XXXXXX
+# received close for participant XXXXXX
+# send closed for participant XXXXXX
+# received closed for participant engine XXXXXX
+# send close for participant engine XXXXXX
+# received close for participant XXXXXX
# close called for pseudo participant XXXXXX
# close called for subordinate coordinator XXXXXX
-# close sent for participant engine XXXXXX
-# close received for participant XXXXXX
-# closed sent for participant XXXXXX
-# closed received for participant engine XXXXXX
-# close sent for participant engine XXXXXX
-# close received for participant XXXXXX
-# closed sent for participant XXXXXX
-# closed received for participant engine XXXXXX
+# send close for participant engine XXXXXX
+# received close for participant XXXXXX
+# send closed for participant XXXXXX
+# received closed for participant engine XXXXXX
+# send close for participant engine XXXXXX
+# received close for participant XXXXXX
+# send closed for participant XXXXXX
+# received closed for participant engine XXXXXX
# removed transaction XXXXXX
# close returned for subordinate coordinator XXXXXX
# close completed for pseudo participant XXXXXX
-# closed sent for participant XXXXXX
-# closed received for participant engine XXXXXX
+# send closed for participant XXXXXX
+# received closed for participant engine XXXXXX
# removed transaction XXXXXX
# JVM exit after removing both transactions
#
@@ -318,7 +318,8 @@
#######################################################################
# This rule resets the periodic recovery wait period to 10 seconds
-# in order to speed up the test
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
#
RULE reset periodic recovery wait time
CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -252,6 +252,7 @@
# removed transaction XXXXXX
# JVM exit
#
+
#######################################################################
# This rule opens a file for the trace output during XTS startup
# It will be opened for append at reboot so messages from both runs
@@ -267,7 +268,8 @@
#######################################################################
# This rule resets the periodic recovery wait period to 10 seconds
-# in order to speed up the test
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
#
RULE reset periodic recovery wait time
CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
Modified: labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringComplete.txt
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringComplete.txt 2012-01-14 06:57:36 UTC (rev 37844)
+++ labs/jbosstm/branches/JBOSSTS_4_16/XTS/sar/tests/dd/scripts/BASubordinateCrashDuringComplete.txt 2012-01-16 09:16:13 UTC (rev 37845)
@@ -101,7 +101,7 @@
# ** Rule system traces create
#
# (parallel optional)
-# getStatus sent for P2/P3 and ignored during recovery
+# sent getStatus for P2/P3 and ignored during recovery
# ** Rule system traces dispatch of getStatus
# (parallel)
# Recovery system detects missing proxy P2 for transaction T2
@@ -125,9 +125,9 @@
# Recovery system removes transaction T2
# ** Rule system traces removal of transaction
# (parallel)
-# getStatus sent for P1
+# sent getStatus for P1
# ** Rule system traces dispatch of getStatus
-# soap fault sent to P1
+# sent soap fault to P1
# ** Rule system traces dispatch of soap fault
# ** Rule system detects removal of P1
# (end parallel)
@@ -253,15 +253,13 @@
# reinstated prepared subordinate transaction XXXXXX
#
# (parallel -- optional and may be repeated depending upon timing)
-# getstatus sent for CC participant P1/P2/P3
-# getstatus received for CC participant P1/P2/P3
-# status(COMPLETED) sent for CC participant P2/P3
-# status(COMPLETED) received for CC participant P3
+# sent getStatus for CC participant P1/P2/P3
+# received getStatus for CC participant P1/P2/P3
# (parallel)
-# getstatus sent for CC/PC participant P1
-# getstatus received for CC/PC participant P1
-# soap fault sent for CC/PC participant P1
-# soap fault received for CC/PC participant P1
+# sent getStatus for CC/PC participant P1
+# received getStatus for CC/PC participant P1
+# sent soap fault for CC/PC participant P1
+# received soap fault for CC/PC participant P1
# (parallel)
# compensate called for pseudo participant XXXXXX
# cancel called for subordinate transaction XXX
@@ -306,7 +304,8 @@
#######################################################################
# This rule resets the periodic recovery wait period to 10 seconds
-# in order to speed up the test
+# in order to speed up the test. Setting this any lower may result
+# in unexpected behaviour
#
RULE reset periodic recovery wait time
CLASS com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean
@@ -657,8 +656,8 @@
AT ENTRY
BIND identifier:String = $3.getInstanceIdentifier().getInstanceIdentifier()
IF TRUE
-DO debug("receieved getStatus for CC coordinator engine " + identifier),
- traceln("log", "receieved getStatus for CC coordinator engine " + identifier)
+DO debug("received getStatus for CC coordinator engine " + identifier),
+ traceln("log", "received getStatus for CC coordinator engine " + identifier)
ENDRULE
#######################################################################
@@ -673,8 +672,8 @@
AT ENTRY
BIND identifier:String = $3.getInstanceIdentifier().getInstanceIdentifier()
IF TRUE
-DO debug("receieved getStatus for PC coordinator engine " + identifier),
- traceln("log", "receieved getStatus for PC coordinator engine " + identifier)
+DO debug("received getStatus for PC coordinator engine " + identifier),
+ traceln("log", "received getStatus for PC coordinator engine " + identifier)
ENDRULE
#######################################################################
@@ -690,7 +689,7 @@
BIND engine:CoordinatorCompletionParticipantEngine = $0,
recovered:boolean = engine.isRecovered(),
identifier:String = engine.getId(),
- status = $1.getState().toString
+ status = $1.getState().toString()
IF recovered
DO debug("received status " + status + " for recovered CC coordinator engine " + identifier),
traceln("log", "received status " + status + " for recovered CC coordinator engine " + identifier)
@@ -709,7 +708,7 @@
BIND engine:ParticipantCompletionParticipantEngine = $0,
recovered:boolean = engine.isRecovered(),
identifier:String = engine.getId(),
- status = $1.getState().toString
+ status = $1.getState().toString()
IF recovered
DO debug("received status " + status + " for recovered PC coordinator engine " + identifier),
traceln("log", "received status " + status + " for recovered PC coordinator engine " + identifier)
@@ -857,7 +856,7 @@
RULE trace subordinate participant stub compensate with no coordinator
CLASS com.arjuna.wst11.stub.SubordinateCoordinatorCompletionParticipantStub
METHOD compensate
-AT THROW 3
+AT THROW 2
BIND NOTHING
IF TRUE
DO debug("throw during compensate for pseudo-participant " + $0 + " with no subordinate coordinator"),
@@ -874,7 +873,7 @@
RULE trace subordinate participant stub compensate with unactivated coordinator
CLASS com.arjuna.wst11.stub.SubordinateCoordinatorCompletionParticipantStub
METHOD compensate
-AT THROW 4
+AT THROW 3
BIND NOTHING
IF TRUE
DO debug("throw during compensate for pseudo-participant " + $0 + " with unactivated subordinate coordinator"),
@@ -891,7 +890,7 @@
RULE trace subordinate participant stub compensate with system exception from coordinator
CLASS com.arjuna.wst11.stub.SubordinateCoordinatorCompletionParticipantStub
METHOD compensate
-AT THROW 5
+AT THROW 4
BIND NOTHING
IF TRUE
DO debug("throw during compensate for pseudo-participant " + $0 + " with system exception from subordinate coordinator"),
More information about the jboss-svn-commits
mailing list