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

JBTM-3509 Small optimisations in setting Transaction Timeout #1870

Merged
merged 1 commit into from Jun 29, 2021

Conversation

Sanne
Copy link
Contributor

@Sanne Sanne commented Jun 28, 2021

https://issues.redhat.com/browse/JBTM-3509

MAIN CORE TOMCAT AS_TESTS !RTS JACOCO !XTS QA_JTA QA_JTS_JACORB QA_JTS_JDKORB QA_JTS_OPENJDKORB !BLACKTIE !PERF !LRA !NO_WIN !DB_TESTS mysql db2 postgres oracle

@jbosstm-bot
Copy link

⚠️ narayana CI not started.

Author is not the 'narayana' contributor, to permit PR being run members of jbosstm can write comment of text: TESTIT

@ochaloup
Copy link
Contributor

TESTIT

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

@jbosstm-bot
Copy link

TOMCAT profile tests failed (http://narayanaci1.eng.hst.ams2.redhat.com/job/btny-pulls-narayana/PROFILE=TOMCAT,jdk=jdk8.latest,label=linux/82/): Narayana Tomcat tests failed H2

@jbosstm-bot
Copy link

Copy link
Contributor

@mmusgrov mmusgrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing this against the CORE/MAIN axis is sufficient so I will review it now (but may as well allow the other axes to finish since they have already started).

The tomcat axis failed with could not locate org.jboss.narayana:common:pom:5.9.0.Final which does exist (https://mvnrepository.com/artifact/org.jboss.narayana/common/5.9.0.Final) so it can be ignored as a transient failure.

@jbosstm-bot
Copy link

{
_timeouts.set(new Integer(seconds));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, doing new Integer(int) is deprecated in most recent JVMs and ill be removed. To be future-proof, I'd suggest consistently changing all code to use the better Integer.valueOf(int) variant.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do that quite a lot so thanks for the tip

@jbosstm-bot
Copy link

@mmusgrov mmusgrov merged commit 734d4ae into jbosstm:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants