You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/09/23 13:15:30 UTC
(camel) branch main updated: CAMEL-24917: fix the build - the doc test kept a call the consolidation made redundant
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new fa8ab2a7a4b2 CAMEL-24917: fix the build - the doc test kept a call the consolidation made redundant
fa8ab2a7a4b2 is described below
commit fa8ab2a7a4b28e3d3f7bc8fffada15bf12003921
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Sep 23 15:14:49 2026 +0200
CAMEL-24917: fix the build - the doc test kept a call the consolidation made redundant
CatalogDocExamplesTest reads its blocks with DocBlocks.examples, which already
leaves out the blocks marked to be skipped, but the old markedToSkip call was
left behind and it refers to a matcher that no longer exists, so the module
does not compile.
It came in with the merge of main into CAMEL-24918 and CI did not see it: the
catalog change put the number of affected modules over the threshold, so the
dependent modules, camel-jbang-core among them, were not built.
Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj
---
.../camel/dsl/jbang/core/commands/ai/CatalogDocExamplesTest.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocExamplesTest.java b/dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocExamplesTest.java
index 73e8190c84f0..24e48c9a2e93 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocExamplesTest.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocExamplesTest.java
@@ -97,10 +97,6 @@ class CatalogDocExamplesTest {
if (skipped != null && yaml.contains(skipped)) {
continue;
}
- if (DocBlocks.markedToSkip(doc, m.start())) {
- // the page shows what to avoid, and says so (CAMEL-24917)
- continue;
- }
examples++;
for (String msg : SourceValidator.validateCamelYaml(yaml, catalog)) {
failures.add(page + " example " + (n + 1) + ": " + msg);