-
Notifications
You must be signed in to change notification settings - Fork 36
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
Reproducer for leaking connection in XA mode #1919
Conversation
07d28c3
to
1f81ef4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
roughly 4,5 minutes gone, that's sad, I'd prefer if we could avoid this test. changes lgtm, thanks
...na-transactions/src/test/java/io/quarkus/ts/transactions/MssqlTransactionGeneralUsageIT.java
Show resolved
Hide resolved
1f81ef4
to
1b96617
Compare
@michalvavrik @rsvoboda I am in doubts wrt this one. If we enable it, we lose several minutes on every run, otherwise we risk the test too turn stale and for the error to reappear.
What do you think? Maybe you have other suggestions? |
I feel same way. I think it would be nice to run this test with a product Quarkus version. Problem with branches is that we will forget to put it into next branches and miss possible regression. Enable it explicitly with env var is fine with me as well, though it is something new we would have to add to Jenkins (maybe discuss this with @mjurc as well). |
I would keep it in main too personally, this should be ran in weeklies for regression checks. I don't mind excluding this for CI (especially considering that databases module already takes ages), but I would like to have this in main. As for method of exclusion - Maven exclusion, envvar - I don't really have a strong opinion here |
1b96617
to
49807bd
Compare
@mjurc do we have weeklies, that run on baremetal? Periodic build in Jenkins has only OCP. Disabled the test on SNAPSHOTS, I suppose it is a good compromise, which doesn't require any drastic changes |
...na-transactions/src/test/java/io/quarkus/ts/transactions/MssqlTransactionGeneralUsageIT.java
Outdated
Show resolved
Hide resolved
49807bd
to
45b7772
Compare
@fedinskiy Sorry, I meant the nightlies. Does this risk pushing the db modules out of allowed execution time for the runners? I don't think timeliness is that much of concern for the nightly build. |
@mjurc I do not think four minutes will affect us too much. I do not want to implement this feature in a hurry, so I created https://issues.redhat.com/browse/QQE-876 to discuss a way to do it properly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed test is not related to the PR
Talking to Michal and he has good point, that 999-SNAPSHOT is used all the time and waiting till the product testing is risky. We could for example define a property in https://github.com/quarkus-qe/quarkus-test-suite/blob/main/.github/workflows/ci.yml and skip the test case run using assume from JUnit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to make the skip relevant just for GH Actions connected with PRs.
45b7772
to
7369f43
Compare
5f13382
to
c740120
Compare
I'm going to merge this, the failure is unrelated and there's two approval. Thanks! |
* Reproducer for leaking transactions in XA mode https://issues.redhat.com/browse/QUARKUS-4185 * Disabled long-running tests in PR CI https://issues.redhat.com/browse/QQE-876 (cherry picked from commit 6587c08)
* Reproducer for leaking transactions in XA mode https://issues.redhat.com/browse/QUARKUS-4185 * Disabled long-running tests in PR CI https://issues.redhat.com/browse/QQE-876 (cherry picked from commit 6587c08)
Summary
When XA is enabled, connections to MS SQL may leak. This tests checks, that this is not happening.
Please select the relevant options.
run tests
phrase in comment)Checklist: