Skip to content
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

WFLY-5319 fix org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase #9981

Closed
wants to merge 1 commit into from

Conversation

scottmarlow
Copy link
Contributor

@scottmarlow scottmarlow commented Apr 27, 2017

https://issues.jboss.org/browse/JBEAP-10550 (not acked yet)
https://issues.jboss.org/browse/WFLY-5319

Address TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest failure, by implementing EntityManagerFactory.getProperties method to avoid NPE in JPA container.

Still fails due to org.wildfly.transaction.client.AbstractTransaction.notifyAssociationListeners being called from Transaction Manager reaper thread (https://gist.github.com/scottmarlow/1ae4a4abe98851b3fe6b1e602ba273d7) which incorrectly tells the JPA container that the application has been disassociated from the active transaction. This is not the case, as the application thread, which is a different thread, is still associated with the (timed out) transaction.

The purpose of this pull request is make sure that we don't see any other unexpected failures on CI.

…t.TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest failure, implement EntityManagerFactory.getProperties method to avoid NPE in JPA container. still fail due to https://gist.github.com/scottmarlow/1ae4a4abe98851b3fe6b1e602ba273d7
@scottmarlow
Copy link
Contributor Author

scottmarlow commented Apr 27, 2017

Good news is that we only see the below failure, bad news is that we now need a fix for [https://issues.jboss.org/browse/WFLY-8661]

java.lang.AssertionError: entity manager should not of been closed by the reaper thread at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertFalse(Assert.java:64) at org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase.test_negativeTxTimeoutTest(TxTimeoutTestCase.java:149)

@scottmarlow
Copy link
Contributor Author

Closing so that the WF committers don't have to look at this (currently) broken pr :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant