allthingssecurity commented on PR #30352:
URL: https://github.com/apache/camel/pull/30352#issuecomment-7004810662
Thanks Claus, you were right on both counts.
1. The asynchronous duplicate (9ad583620dcb). The receiver is now
`from("direct:receiver").routeId("receiver").process(<record
thread>).threads(1).to("mock:received")`, so the first send returns false and
the thread of `threads(1)` completes it and makes the second send while the
caller unwinds. The test sends 20 exchanges and does not assume this: a
processor before `threads(1)` records the thread of each send (a direct
consumer runs on the sending thread), and the test asserts that each first send
was made by the caller and each second send by the `Threads` thread. Over 1
surefire run and 10 more in one JVM, every second send was on `Camel (camel-N)
thread #M - Threads` while the first was on the caller. Each run opened 340
windows in that test with `overlapSampling = 1`, and no overlap or other
violation was reported. I left `aDuplicatedSendOnAThreadOfAPool` synchronous on
purpose: it now asserts that one pool thread makes both sends. So the three
cases (both on the caller, bot
h on a pool thread, handed off) are each covered and checked. The class
Javadoc now lists them.
2. The design summary (a1b6c805e87f) now says steps 1 to 6 are built and
that two things are left: the full-length JMH run of R3 with the benchmark in
camel-performance-tests, and R4. `last-updated` is 2026-11-19.
Optional ones:
- `assertWatchedAndQuiet` now also asserts that the tracer and the backlog
tracer recorded events (9ad583620dcb). For the asynchronous test that was 140
and 260 events per run.
- The sentence on reruns is split at the semicolon (2106fe9022d3). The same
text was in the `overlapSampling` option description, so I split it there too.
sanitizer.adoc, main.adoc, the metadata json and the catalog copies all match.
- The TLA+ model is in my notes for the design, not in a public place yet.
I'm happy to share it on request.
`ChaosWithSanitizerTest` and `ChaosWithSanitizerWatchWindowsTest` 10 times
in one JVM: 110 of 110. The camel-main sanitizer tests also pass. I updated the
PR description for the chaos test.
_Claude Code on behalf of allthingssecurity_
--
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]