-
Notifications
You must be signed in to change notification settings - Fork 30
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
[TCK] JTA Transactional tests leaking #185
Comments
@jeanouii Please do supply the required information mentioned in the TCK process document:
|
Thanks for providing your follow up @scottmalow and please @jeanouii, if you can follow up with the information that Scott requested that would be great. On https://jakarta.ee/committees/specification/tckprocess/ I also noted:
Please can I ask, do you represent the implementation you are raising this for? Many thanks for raising the topic, |
@tomjenkinson @scottmarlow I'd like to revive this topic and get it fixed in the TCK |
@jeanouii are you able to suggest why I don't notice this happening on Eclipse CI? |
Hi,
Some methods in the Transactional subset of JTA are implemented like this https://github.com/eclipse-ee4j/jakartaee-tck/blob/master/src/com/sun/ts/tests/jta/ee/transactional/Client.java#L420
Basically a userTransaction.begin() with catch and no finally. No commit()/rollback() seems to happen and therefor the transaction leaks into the ThreadContext and well, if you are lucky next test uses a different thread, all good, if you are not, then a transaction is already associated with the thread and the begin fails.
That creates random failures to me.
As per https://jakarta.ee/committees/specification/tckprocess the 'challenge' label needs to be used for TCK challenges.
The text was updated successfully, but these errors were encountered: