[
https://issues.apache.org/jira/browse/CAMEL-27451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-27451 started by Aurélien Pupier.
-----------------------------------------------
> Fix flaky test SemanticConsoleTest
> ----------------------------------
>
> Key: CAMEL-27451
> URL: https://issues.apache.org/jira/browse/CAMEL-27451
> Project: Camel
> Issue Type: Test
> Affects Versions: 4.24.0
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Priority: Major
>
> intoruced on 9th october, there were no flakiness until -T1C was used.
> Starting from that, there was [2 failure an 58
> flaky|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*SemanticConsoleTest&tests.sortField=FLAKY]
> {noformat}
> java.lang.AssertionError: Expecting AtomicInteger(0) to have value:
> 1
> but did not.
> at
> org.apache.camel.semantic.SemanticConsoleTest.directEvaluationValidatesOperationParametersInputAndOutput(SemanticConsoleTest.java:180)
>
> {noformat}
> {noformat}
> java.lang.AssertionError: Expecting AtomicInteger(0) to have value:
> 1
> but did not.
> at
> org.apache.camel.semantic.SemanticConsoleTest.invalidSamplesAndUnknownDefinitionsNeverCallTheExpert(SemanticConsoleTest.java:132)
>
> {noformat}
> and this one occured a single time (only flaky):
> {noformat}
> java.lang.AssertionError: Expecting map:
> {"elapsedMillis"=0L, "error"="Busy: semantic evaluations are already
> running", "evaluation"="variable-check", "status"="failed"}
> to contain entries:
> ["status"="success"]
> but the following map entries had different values:
> ["status"="failed" (expected: "success")]
> at
> org.apache.camel.semantic.SemanticConsoleTest.sampleUsesStateSelectorsAndReturnsTypedResultDetails(SemanticConsoleTest.java:102)
> {noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)