You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/08/04 11:36:00 UTC

[camel] branch main updated: (chores) camel-endpointdsl: fix test log output to stdout (#11001)

This is an automated email from the ASF dual-hosted git repository.

orpiske 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 52c7e001484 (chores) camel-endpointdsl: fix test log output to stdout (#11001)
52c7e001484 is described below

commit 52c7e00148411fccdd1e819f230d61d3d117b3e7
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Fri Aug 4 13:35:53 2023 +0200

    (chores) camel-endpointdsl: fix test log output to stdout (#11001)
---
 dsl/camel-endpointdsl/pom.xml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/dsl/camel-endpointdsl/pom.xml b/dsl/camel-endpointdsl/pom.xml
index f11cdf1de06..6e1413de2a0 100644
--- a/dsl/camel-endpointdsl/pom.xml
+++ b/dsl/camel-endpointdsl/pom.xml
@@ -207,9 +207,24 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <!--
+                            See CAMEL-19713.
+
+                            These tests generate a lot of bogus output and the logging does not work.
+                            This forces the output to be stored in separate files in the target directory.
+                            -->
+                            <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                            <systemPropertyVariables>
+                                <visibleassertions.silence>true</visibleassertions.silence>
+                            </systemPropertyVariables>
+                        </configuration>
+                    </plugin>
                 </plugins>
             </build>
         </profile>
     </profiles>
-
 </project>