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-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new 00cf53fac ci: the Debezium Kafka-offset test stops its second run
itself, before Citrus removes Kafka (#3369)
00cf53fac is described below
commit 00cf53fac22670bc0158f4ef69f5f4f3b0733c68
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Nov 23 10:44:16 2026 +0100
ci: the Debezium Kafka-offset test stops its second run itself, before
Citrus removes Kafka (#3369)
Citrus removes the test containers before it stops the integrations that are
left at the end. Without Kafka, the Debezium engine of the second run waits
to
save its position until `camel stop` times out (exit code 124), so the test
failed on every run since #3363.
Claude-Session: https://claude.ai/code/session_016Y4dDmBDsSWV117kccuNf9
Co-authored-by: Claude Opus 5.5 <[email protected]>
---
.../debezium/debezium-postgresql-source-kafka-route.citrus.it.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git
a/tests/camel-kamelets-itest/src/test/resources/database/debezium/debezium-postgresql-source-kafka-route.citrus.it.yaml
b/tests/camel-kamelets-itest/src/test/resources/database/debezium/debezium-postgresql-source-kafka-route.citrus.it.yaml
index 49c3143d9..1e8197b19 100644
---
a/tests/camel-kamelets-itest/src/test/resources/database/debezium/debezium-postgresql-source-kafka-route.citrus.it.yaml
+++
b/tests/camel-kamelets-itest/src/test/resources/database/debezium/debezium-postgresql-source-kafka-route.citrus.it.yaml
@@ -108,9 +108,12 @@ actions:
file: "database/sql.groovy"
# The second run reads the position from Kafka: it sends only the new row,
not the snapshot again
+ # the test stops this run itself too: Citrus removes the containers before
the integrations it stops at the end,
+ # and without Kafka the stop waits to save the position until `camel stop`
times out
- camel:
cli:
run:
+ autoRemove: false
waitForRunningState: false
integration:
name: "debezium-kafka-second"
@@ -146,3 +149,7 @@ actions:
status: 200
reasonPhrase: "OK"
version: "HTTP/1.1"
+ - camel:
+ cli:
+ stop:
+ integration: "debezium-kafka-second"