[infinispan-issues] [JBoss JIRA] Commented: (ISPN-957) Make local suite to run with JBossTM
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Mon Feb 28 12:28:05 EST 2011
[ https://issues.jboss.org/browse/ISPN-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585012#comment-12585012 ]
Mircea Markus commented on ISPN-957:
------------------------------------
@Manik - kindly disagree :-) I'd expect most of TMs to support this optimisation and most of the time the code will run with the optimisation enabled (e.g. JBossTM has this optimisation enabled by default). I don't see any reason for not testing both scenarios.
> Make local suite to run with JBossTM
> ------------------------------------
>
> Key: ISPN-957
> URL: https://issues.jboss.org/browse/ISPN-957
> Project: Infinispan
> Issue Type: Feature Request
> Components: Test Suite, Transactions
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Fix For: 5.0.0.Final
>
>
> Suite runs faster with JBossTM (vs DummyTM).
> A explanation for JBossTM over performing DummyTM in spite keeping a tx log on the disk (which dummyTm doesn't) is the fact that it has 2PC optimisations for situations where only one resource is registered. In other words if there is only one cache participating in the transaction (most of our tests are like that) there won't be 2RPC but only one.
> It would be good to run the local test suite with JBossTM and CoordinatorEnvironmentBean.commitOnePhase=true and
> CoordinatorEnvironmentBean.commitOnePhase=false on the hudson environment. This would test transactions better.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list