Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,15 @@ public void doExecute(TestContext context) {
.integration(name));
}

logger.info("Waiting for the Camel integration '%s' (%s) to be running ...".formatted(name, pid));

if (waitForRunningState) {
logger.info("Waiting for the Camel integration '%s' (%s) to be running ...".formatted(name, pid));
new CamelVerifyIntegrationAction.Builder()
.integrationName(name)
.isRunning()
.build()
.execute(context);
} else {
logger.info("Started Camel integration '%s' (%s) — not waiting for running state".formatted(name, pid));
}
} catch (IOException e) {
throw new CitrusRuntimeException("Failed to create temporary file from Camel integration source", e);
Expand Down
Loading