CAMEL-23323 - avoid all tests hanging when building with Maven#22606
Merged
apupier merged 1 commit intoapache:mainfrom Apr 14, 2026
Merged
CAMEL-23323 - avoid all tests hanging when building with Maven#22606apupier merged 1 commit intoapache:mainfrom
apupier merged 1 commit intoapache:mainfrom
Conversation
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 🐫 Apache Camel Committers, please review the following items:
|
davsclaus
approved these changes
Apr 14, 2026
Contributor
|
🧪 CI tested the following changed modules:
|
Contributor
Author
|
/component-test infinispan |
it will avoid build taking several hours and being aborted on Jenkins CI note that it doesn't solve the root cause of why the test hangs Signed-off-by: Aurélien Pupier <apupier@ibm.com>
a5d20e9 to
a82b062
Compare
Croway
approved these changes
Apr 14, 2026
Contributor
Author
|
for refrence, I modified a test with a thread.sleep in afterAll, it gives this kind of error: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
it will avoid build taking several hours and being aborted on Jenkins CI
note that it doesn't solve the root cause of why the test hangs
Description
Previously we used this same property in junit-platform.properties for jms tests. Given that similar issue occurs with other tests, I propose to try to configure it in the maven build level so it can be applied on all kind of tests. I think 10 minutes is in theory enough for all tests
more information on test timeout here https://docs.junit.org/6.0.3/writing-tests/timeouts.html#default-timeouts
Target
mainbranch)Tracking
Apache Camel coding standards and style
mvn clean install -DskipTestslocally from root folder and I have committed all auto-generated changes.