jvrubel commented on code in PR #28526:
URL: https://github.com/apache/camel/pull/28526#discussion_r4443290959
##########
dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/RunCommandITCase.java:
##########
@@ -132,13 +133,15 @@ public void runRouteFromGistTest() {
}
@Test
- @Tag("container-only")
public void runDownloadedFromGithubTest() {
- execute("init
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/dependency-injection");
-
Assertions.assertThat(containerService.listDirectory(DEFAULT_ROUTE_FOLDER))
+ execute("init
https://github.com/apache/camel-kamelets-examples/tree/main/jbang/dependency-injection
--directory="
+ + mountPoint());
+ Assertions
+ .assertThat(Paths.get(getDataFolder()).toFile().listFiles())
.as("default route directory")
+ .extracting("name")
.contains("Echo.java", "Hello.java", "README.adoc",
"application.properties");
- executeBackground("run *");
+ executeBackground(String.format("run %s/*", mountPoint()));
checkLogContains("JackJack!! from Echo");
}
Review Comment:
Restored the original functionality
--
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]