-
Bug
-
Resolution: Done
-
Major
-
11.0.0.Alpha1
-
None
I created a pull request to enable the TxTimeoutTestCase (JBEAP-10550 + WFLY-5319) which required a test change, however, the test is failing for me locally, due to org.wildfly.transaction.client.LocalTransaction.suspend() calling notifyAssociationListeners(false) in the TM reaper "tx timeout" thread, which is wrong, as the app client thread may still be associated with the same transaction.
https://gist.github.com/scottmarlow/1ae4a4abe98851b3fe6b1e602ba273d7 shows another reaper thread association call being made, that shouldn't be.
I'm not sure of how the Narayana org.jboss.tm.listener.TransactionListenerRegistry SPI, internally ensured that the reaper thread didn't incorrectly perform association/disassociation but what we have now in WildFly (appears) to be different.
- blocks
-
WFLY-5319 fix org.jboss.as.test.integration.jpa.mockprovider.txtimeout.TxTimeoutTestCase.test_negativeTxTimeoutVerifyReaperThreadCanceledTxTest failure
- Closed
-
JBEAP-10550 Fix TxTimeoutTestCase, ensures that background TM reaper thread doesn't close the transaction scoped entity manager while the application thread is still using it
- Closed
- is caused by
-
WFTC-20 Association listeners are not called on commit/rollbackAndDissociate
- Resolved