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/05/13 10:43:09 UTC
[PR] Fix 5 flaky tests in camel-core caused by timing issues [camel]
gnodet opened a new pull request, #23190:
URL: https://github.com/apache/camel/pull/23190
## Summary
Fix 5 intermittently failing tests in `camel-core` that pass on rerun (`rerunFailingTestsCount=2`), confirming they are timing-dependent:
- **FileSedaShutdownCompleteAllTasksTest** (expected 5, got 9): File consumer `delay=10` caused re-reads before `.camel/` move, creating duplicate exchanges. Increased to `delay=2000` for a single poll.
- **ShutdownCompleteCurrentTaskOnlyTest** (expected <5, got 5): Same file consumer re-read issue. Increased poll delay to `delay=2000`.
- **MulticastParallelStreamingTimeoutTest** (expected "CB", got "Hello"): Thread pool starvation under CI load prevented branches from completing within 5s timeout. Increased multicast timeout to 10s, direct:a delay to 20s, and mock wait to 20s.
- **MulticastParallelStreamingTest** (expected "BA", got "AB"): `asyncDelayed()` uses a scheduled executor subject to thread pool pressure. Switched to `syncDelayed()` (Thread.sleep) for deterministic ordering.
- **MulticastParallelTimeoutStreamCachingTest** (expected mock:exception=1, got 0): IOException propagation at ~5s exceeded default mock assertion timeout under CI load. Added explicit `setResultWaitTime(15000)` and `setAssertPeriod(2000)`.
## Test plan
- [x] All 5 tests pass locally (7 test methods, 0 failures)
- [ ] CI passes
--
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] Fix 5 flaky tests in camel-core caused by timing issues [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23190:
URL: https://github.com/apache/camel/pull/23190#issuecomment-4440451316
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `core/camel-core`
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `core/camel-core`: 2 test(s) disabled on GitHub Actions
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/25794118505)
--
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] Fix 5 flaky tests in camel-core caused by timing issues [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23190:
URL: https://github.com/apache/camel/pull/23190#issuecomment-4440326347
: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] Fix 11 flaky tests in camel-core caused by timing issues [camel]
Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet closed pull request #23190: Fix 11 flaky tests in camel-core caused by timing issues
URL: https://github.com/apache/camel/pull/23190
--
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