New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JBTM-3454] JTA CDI should roll-back when java.lang.Error is thrown from the @Transactional method #1812
[JBTM-3454] JTA CDI should roll-back when java.lang.Error is thrown from the @Transactional method #1812
Conversation
Started testing this pull request with AS_TESTS profile: http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/10/ |
Started testing this pull request with MAIN profile: http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=CORE,jdk=jdk8.latest,label=linux/10/ |
ArjunaJTA/cdi/tests/classes/com/hp/mwtests/ts/jta/cdi/transactional/TransactionalImplTest.java
Show resolved
Hide resolved
CORE profile tests passed - Job complete http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=CORE,jdk=jdk8.latest,label=linux/10/ |
AS_TESTS profile tests failed (http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/10/): AS tests failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I ran this code in my local, I saw that one of the test was failing TransactionalImplTest.testDefaultThrowError:158 Should have rolled back, but committed
https://github.com/jbosstm/narayana/pull/1812/files#diff-64830153cfb38fe8a4a86d4fb84937907b67c5e331899564c3a184afb4427257R145
And in the CI run I observed that, there is no result for ArjunaJTA/cdi module http://narayanaci1.eng.hst.ams2.redhat.com/view/Pulls/job/btny-pulls-narayana/10/PROFILE=CORE,jdk=jdk8.latest,label=linux/artifact/ArjunaJTA/
@mayankkunwar sure, the local failure will be (I assume as the most probably reason) caused by fact you haven't updated the Regarding the I will rerun the CI as it seems the CI failure was the only trouble on downloading artifacts. |
Started testing this pull request with AS_TESTS profile: http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/12/ |
I see @ochaloup , thanks for the clarification. |
AS_TESTS profile tests failed (http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/12/): AS tests failed |
Again not related error. It was
|
Started testing this pull request with AS_TESTS profile: http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/16/ |
AS_TESTS profile tests failed (http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/16/): AS tests failed |
@ochaloup Mayank is reviewing this but I think it looks good (although I did not investigate the reason why AS_TESTS failed). |
For me also changes looks good. I tried to test with some nested scenarios, changes works well. |
@mayankkunwar so once the failures are accounted for you should approve it. |
Sure @mmusgrov |
Started testing this pull request with AS_TESTS profile: http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/23/ |
AS_TESTS profile tests failed (http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/23/): AS tests failed |
Started testing this pull request with AS_TESTS profile: http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/31/ |
The
I run all of them on my local machine and they passed. As well I run the CDI ArjunaJTA tests. The trouble with the @mayankkunwar what do you think about this PR and possibility to merge it? |
I think we can merge your changes, as I also tested in my local, changes were working fine with tests. I was just waiting for the CI failures to pass. |
AS_TESTS profile tests failed (http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=AS_TESTS,jdk=jdk8.latest,label=linux/31/): AS tests failed |
@mayankkunwar thanks |
https://issues.redhat.com/browse/JBTM-3454
MAIN AS_TESTS
!QA_JTA !QA_JTS_JDKORB !QA_JTS_OPENJDKORB !QA_JTS_JACORB !BLACKTIE !XTS !PERF NO_WIN !RTS !TOMCAT !JACOCO !LRA