You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/07/12 20:22:19 UTC
[PR] CAMEL-24031: Fix flaky JmsAddAndRemoveRouteManagementIT [camel]
gnodet opened a new pull request, #24632:
URL: https://github.com/apache/camel/pull/24632
## Summary
Fix flaky `JmsAddAndRemoveRouteManagementIT` identified by [Develocity](https://develocity.apache.org).
The test dynamically adds a JMS route, sends a message, then removes the route and verifies thread pool cleanup via JMX. On slow CI, both JMX registration and cleanup can take longer than the original 5s timeouts.
Changes:
- Increase Awaitility timeouts from 5s to 30s for JMX thread pool registration and cleanup checks
- Set 30s result wait time on MockEndpoint
- Wait for JMS consumer to actually subscribe before sending the test message
## Test plan
- [x] Test passes locally with `mvn verify -pl components/camel-jms -Dtest=JmsAddAndRemoveRouteManagementIT -Dit.test=JmsAddAndRemoveRouteManagementIT`
- [ ] CI passes
_Claude Code on behalf of gnodet_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24031: Fix flaky JmsAddAndRemoveRouteManagementIT [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #24632:
URL: https://github.com/apache/camel/pull/24632#issuecomment-4952637906
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24031: Fix flaky JmsAddAndRemoveRouteManagementIT [camel]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #24632:
URL: https://github.com/apache/camel/pull/24632
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24031: Fix flaky JmsAddAndRemoveRouteManagementIT [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #24632:
URL: https://github.com/apache/camel/pull/24632#issuecomment-4952740216
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `components/camel-jms`
---
<details><summary>:microscope: Scalpel shadow comparison — Scalpel: 1 tested, 0 compile-only — current: 12 all tested</summary>
[Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **1 affected modules** (current approach: 12).
<details><summary>Modules only in current approach (11)</summary>
- `camel-activemq`
- `camel-activemq6`
- `camel-amqp`
- `camel-jbang-mcp`
- `camel-jbang-plugin-mcp`
- `camel-jbang-plugin-route-parser`
- `camel-jbang-plugin-tui`
- `camel-jbang-plugin-validate`
- `camel-launcher-container`
- `camel-yaml-dsl-validator`
- `camel-yaml-dsl-validator-maven-plugin`
</details>
**Skip-tests mode would test 1 modules** (1 direct + 0 downstream), **skip tests for 0** (generated code, meta-modules)
<details><summary>Modules Scalpel would test (1)</summary>
- `camel-jms`
</details>
> :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
</details>
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `components/camel-jms`: 1 test(s) disabled on GitHub Actions
<details><summary>All tested modules (12 modules)</summary>
- Camel :: AMQP
- Camel :: ActiveMQ 5.x
- Camel :: ActiveMQ 6.x
- Camel :: JBang :: MCP
- Camel :: JBang :: Plugin :: MCP
- Camel :: JBang :: Plugin :: Route Parser
- Camel :: JBang :: Plugin :: TUI
- Camel :: JBang :: Plugin :: Validate
- Camel :: JMS
- Camel :: Launcher :: Container
- Camel :: YAML DSL :: Validator
- Camel :: YAML DSL :: Validator Maven Plugin
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/29207594081)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org