You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Alexandros Koufoudakis (JIRA)" <ji...@apache.org> on 2019/07/12 12:05:00 UTC
[jira] [Comment Edited] (CAMEL-13454) camel-testcontainers - Should
build if no docker
[ https://issues.apache.org/jira/browse/CAMEL-13454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883745#comment-16883745 ]
Alexandros Koufoudakis edited comment on CAMEL-13454 at 7/12/19 12:04 PM:
--------------------------------------------------------------------------
Another update. The only way (until now) I was able to make it working on Mojave, was the following:
<profile>
<id>testcontainers-skip-tests</id>
<activation>
<property>
<name>!integration-test</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skipITs>true</skipITs>
</configuration>
</plugin>
</plugins>
</build>
</profile>
[~davsclaus] can you, please, check whether it works for you on your macOS?
If it works, what should we do next?
was (Author: akoufoudakis):
Another update. The only way (until now) I was able to make it working on Mojave, was the following:
{{<profile>}}
{{ <id>testcontainers-skip-tests</id>}}
{{ <activation>}}
{{ <property>}}
{{ <name>!integration-test</name>}}
{{ </property>}}
{{ </activation>}}
{{ <build>}}
{{ <plugins>}}
{{ <plugin>}}
{{ <artifactId>maven-surefire-plugin</artifactId>}}
{{ <configuration>}}
{{ <skipTests>true</skipTests>}}
{{ </configuration>}}
{{ </plugin>}}
{{ <plugin>}}
{{ <artifactId>maven-failsafe-plugin</artifactId>}}
{{ <configuration>}}
{{ <skipITs>true</skipITs>}}
{{ </configuration>}}
{{ </plugin>}}
{{ </plugins>}}
{{ </build>}}
{{</profile>}}
[~davsclaus] can you, please, check whether it works for you on your macOS?
If it works, what should we do next?
> camel-testcontainers - Should build if no docker
> ------------------------------------------------
>
> Key: CAMEL-13454
> URL: https://issues.apache.org/jira/browse/CAMEL-13454
> Project: Camel
> Issue Type: Improvement
> Reporter: Claus Ibsen
> Assignee: Ramu
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: pom.xml
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If you run mvn clean install then the following should still pass.
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 31.178 s <<< FAILURE! - in org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT
> [ERROR] testPropertyPlaceholders(org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT) Time elapsed: 30.805 s <<< ERROR!
> java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration
> at org.apache.camel.test.testcontainers.ContainerAwareTestSupportIT.createContainer(ContainerAwareTestSupportIT.java:37)
> [INFO]
> [INFO] Results:
> [INFO]
> [ERROR] Errors:
> [ERROR] ContainerAwareTestSupportIT>CamelTestSupport.setUp:284->ContainerAwareTestSupport.setupResources:42->ContainerAwareTestSupport.createContainers:76->createContainer:37 ยป IllegalState
> [INFO]
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> [INFO]
> [INFO]
> [INFO] --- maven-failsafe-plugin:2.22.1:verify (default) @ camel-testcontainers ---
> [INFO] ------------------------------------------------------------------------
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)