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/01/30 09:49:39 UTC

[camel] branch main updated: (chores) camel-core: fixed bogus print to STDOUT causing warning from Surefire plugin

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 4c69442d2ce (chores) camel-core: fixed bogus print to STDOUT causing warning from Surefire plugin
4c69442d2ce is described below

commit 4c69442d2cedc7845772cf0d011d5bb6a0e4c337
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jan 30 10:49:00 2023 +0100

    (chores) camel-core: fixed bogus print to STDOUT causing warning from Surefire plugin
---
 .../src/test/java/org/apache/camel/impl/ClassicUuidGeneratorTest.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/camel-core/src/test/java/org/apache/camel/impl/ClassicUuidGeneratorTest.java b/core/camel-core/src/test/java/org/apache/camel/impl/ClassicUuidGeneratorTest.java
index f3058a3fc93..d2f7358eb20 100644
--- a/core/camel-core/src/test/java/org/apache/camel/impl/ClassicUuidGeneratorTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/impl/ClassicUuidGeneratorTest.java
@@ -36,9 +36,8 @@ public class ClassicUuidGeneratorTest {
 
         String firstUUID = uuidGenerator.generateUuid();
         String secondUUID = uuidGenerator.generateUuid();
-        System.out.println(firstUUID);
 
-        assertNotSame(firstUUID, secondUUID);
+        assertNotSame(firstUUID, secondUUID, "The first UUID " + firstUUID + " is equal to the second " + secondUUID);
     }
 
     @Test