gnodet-bot commented on code in PR #30185:
URL: https://github.com/apache/camel/pull/30185#discussion_r4584386116
##########
components/camel-chaos/src/test/java/org/apache/camel/component/chaos/ChaosLifecycleTest.java:
##########
@@ -213,14 +213,14 @@ void removingAFlappingRuleBetweenRoundsEndsIt() {
@Test
void aLifecycleRuleWithFromActsLater() {
- String id = chaos().addRule("route=a lifecycle action=stop
duration=100ms from=+500ms");
+ String id = chaos().addRule("route=a lifecycle action=stop
duration=50ms from=+200ms");
Review Comment:
💡 **Nit:** This reduces `from=+500ms` → `from=+200ms` and `duration=100ms` →
`50ms`, tightening the scheduling margin for the `downAt >= 200` assertion
without saving meaningful wall-clock time (this test was already <1s). Consider
keeping the original values for stability:
```suggestion
String id = chaos().addRule("route=a lifecycle action=stop
duration=100ms from=+500ms");
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]