[jbossts-issues] [JBoss JIRA] (JBTM-1685) QA suite failure: org.jboss.jbossts.qa.junit.testgroup.TestGroup_crashrecovery02_2#Test28
Michael Musgrove (JIRA)
jira-events at lists.jboss.org
Mon Aug 5 05:21:26 EDT 2013
[ https://issues.jboss.org/browse/JBTM-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795006#comment-12795006 ]
Michael Musgrove commented on JBTM-1685:
----------------------------------------
Seems to be timing related. This test starts 2 servers both of which are asked to crash during commit. On restart an external recovery manager is supposed to replay the commit phase. A second client starts and uses CrashRecoveryDelays.java to ensure enough time has elapsed (using method awaitReplayCompletion). [Note CrashRecoveryDelays has 2 approaches, either awaitReplayCompletion or explicitly tell the recovery manager to trigger recovery (method awaitRecovery)].
After the second client has waited for the replay it asks each server what it did. When the test fails the servers are still waiting for the replayCompletion request. I modified the second client to wait longer before asking the servers what they did and the test passes consistently.
> QA suite failure: org.jboss.jbossts.qa.junit.testgroup.TestGroup_crashrecovery02_2#Test28
> -----------------------------------------------------------------------------------------
>
> Key: JBTM-1685
> URL: https://issues.jboss.org/browse/JBTM-1685
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Testing
> Reporter: Gytis Trikleris
> Assignee: Michael Musgrove
> Priority: Minor
> Fix For: 5.0.0.M4
>
> Attachments: CrashRecovery02_2_Test28.zip
>
> Original Estimate: 2 days
> Remaining Estimate: 2 days
>
> http://172.17.131.2/view/Narayana+BlackTie/job/narayana-dualstack/99/consoleText
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list