davsclaus commented on code in PR #29396:
URL: https://github.com/apache/camel/pull/29396#discussion_r4504006695
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ChaosAiPrompt.java:
##########
@@ -189,8 +189,9 @@ private static void state(StringBuilder sb, IntegrationInfo
info, ChaosInfo.Rule
sb.append("It fired at
").append(rule.firedAt.get("poll")).append(" polls of a consumer (no
exchange).\n");
}
if (rule.expectRoute != null) {
- sb.append("Expectation:
").append(rule.expectRoute).append(':').append(rule.expectKind).append(rule.expectOp)
- .append(rule.expectCount).append(",
").append(rule.expectOutcome != null ? rule.expectOutcome : "pending")
+ sb.append("Expectation: ").append(rule.expectSpec != null
+ ? rule.expectSpec : rule.expectRoute + ":" +
rule.expectKind + rule.expectOp + rule.expectCount)
+ .append(", ").append(rule.expectOutcome != null ?
rule.expectOutcome : "pending")
.append(" (").append(rule.expectValue).append('
').append(rule.expectKind).append(").\n");
Review Comment:
Fixed in 8b37635f85: the question shows a meanTime or maxTime value with
ChaosTab.shortTime, as the screen does (covered in ChaosAiPromptTest).
_Claude Code on behalf of Claus Ibsen_
--
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]