[jbossts-issues] [JBoss JIRA] (JBTM-3105) STM TaxonomyTest failure

Michael Musgrove (Jira) issues at jboss.org
Sat Apr 13 03:51:00 EDT 2019


    [ https://issues.jboss.org/browse/JBTM-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722022#comment-13722022 ] 

Michael Musgrove commented on JBTM-3105:
----------------------------------------

There are two issues with the nested tests:
- the transactional object is not marked with @Nested
- the second thread that performs a nested update catches Exceptions with fail() in the catch block. This does not seem to cause the test to fail. The fix is twofold, catch Throwable and assert failure in the main thread (see PR for the fix) 

> STM TaxonomyTest failure
> ------------------------
>
>                 Key: JBTM-3105
>                 URL: https://issues.jboss.org/browse/JBTM-3105
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: STM
>    Affects Versions: 5.9.2.Final
>            Reporter: Michael Musgrove
>            Assignee: Michael Musgrove
>            Priority: Major
>             Fix For: 5.next
>
>
> There was test failure during a CI PR test: testIsClosedNestedParentNotVisible(org.jboss.stm.TaxonomyTest) on job
> http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana-catelyn/jdk=jdk9.latest,label=catelyn/12/



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jbossts-issues mailing list