[jboss-jira] [JBoss JIRA] (WFLY-5319) fix org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest failure

Scott Marlow (JIRA) issues at jboss.org
Wed Mar 1 12:13:00 EST 2017


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

Scott Marlow edited comment on WFLY-5319 at 3/1/17 12:12 PM:
-------------------------------------------------------------

Attached server.log which is from following steps:

1. Update testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jpa/mockprovider/txtimeout/TxTimeoutTestCase.java, delete the @Ignore on the class:
{quote} @Ignore // WFLY-5319 is for fixing this test {quote}

2. Change into folder testsuite/integration/basic

3. mvn clean install  -Dtest=org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase

I could pass this test locally on my T540 laptop but on test machine, I was able to see the failure:
{quote}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase
Tests run: 3, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 3.866 sec <<< FAILURE! - in org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase
test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest(org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase)  Time elapsed: 1.409 sec  <<< FAILURE!
java.lang.AssertionError: transaction was canceled by reaper thread
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest(TxTimeoutTestCase.java:173)


Results :

Failed tests: 
  TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest:173 transaction was canceled by reaper thread
{quote}

See attached server.log which is from this test run.  I'm not sure if [WFLY-6212] is at the root of the problem or something else.


was (Author: smarlow):
Attached server.log which is from following steps:

1. Update testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jpa/mockprovider/txtimeout/TxTimeoutTestCase.java, delete the @Ignore on the class:
{quote} @Ignore // WFLY-5319 is for fixing this test {quote}

2. Change into folder testsuite/integration/basic

3. mvn clean install  -Dtest=org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase

I could pass this test locally on my T540 laptop but on test machine, I was able to see the failure:
{quote}
test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest(org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase)  Time elapsed: 1.409 sec  <<< FAILURE!
java.lang.AssertionError: transaction was canceled by reaper thread
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest(TxTimeoutTestCase.java:173)
{quote}

See attached server.log which is from this test run.  I'm not sure if [WFLY-6212] is at the root of the problem or something else.

> fix org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest failure
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-5319
>                 URL: https://issues.jboss.org/browse/WFLY-5319
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: JPA / Hibernate
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>         Attachments: server.zip
>
>
> https://gist.github.com/scottmarlow/6409290362f35f2d1320 contains the error exception



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list