This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new 476fb78fe7 Remove console logs to restore flakiness, keep the route log to catch information #3584 476fb78fe7 is described below commit 476fb78fe7b3be25213854b24d2021384b84c35a Author: aldettinger <aldettin...@gmail.com> AuthorDate: Mon Jun 13 17:12:12 2022 +0200 Remove console logs to restore flakiness, keep the route log to catch information #3584 --- .../apache/camel/quarkus/component/file/it/FileResource.java | 10 ---------- .../org/apache/camel/quarkus/component/file/it/FileTest.java | 3 --- 2 files changed, 13 deletions(-) diff --git a/integration-tests/file/src/main/java/org/apache/camel/quarkus/component/file/it/FileResource.java b/integration-tests/file/src/main/java/org/apache/camel/quarkus/component/file/it/FileResource.java index 87ccbc3299..ce7586f0c2 100644 --- a/integration-tests/file/src/main/java/org/apache/camel/quarkus/component/file/it/FileResource.java +++ b/integration-tests/file/src/main/java/org/apache/camel/quarkus/component/file/it/FileResource.java @@ -99,27 +99,18 @@ public class FileResource { @Path("/getFromMock/{mockId}") @GET public String getFromMock(@PathParam("mockId") String mockId) { - System.out.println("CAMEL-QUARKUS-3584 => FileResource.getFromMock(" + mockId + ").thread.id => " - + Thread.currentThread().getId()); MockEndpoint mockEndpoint = context.getEndpoint("mock:" + mockId, MockEndpoint.class); - System.out.println("CAMEL-QUARKUS-3584 => FileResource.getFromMock(" + mockId + ").mockEndpoint => 0x" - + System.identityHashCode(mockEndpoint)); String result = mockEndpoint.getExchanges().stream().map(e -> e.getIn().getBody(String.class)) .collect(Collectors.joining(SEPARATOR)); - System.out.println("CAMEL-QUARKUS-3584 => FileResource.getFromMock(" + mockId + ") returns => " + result); - return result; } @Path("/resetMock/{mockId}") @GET public void resetMock(@PathParam("mockId") String mockId) { - System.out.println("CAMEL-QUARKUS-3584 => FileResource.resetMock().thread.id => " + Thread.currentThread().getId()); MockEndpoint mockEndpoint = context.getEndpoint("mock:" + mockId, MockEndpoint.class); - System.out.println( - "CAMEL-QUARKUS-3584 => FileResource.resetMock.mockEndpoint => 0x" + System.identityHashCode(mockEndpoint)); mockEndpoint.reset(); } @@ -130,7 +121,6 @@ public class FileResource { public Response createFile(@PathParam("folder") String folder, byte[] content, @QueryParam("charset") String charset, @QueryParam("fileName") String fileName) throws Exception { - System.out.println("CAMEL-QUARKUS-3584 => FileResource.createFile().thread.id => " + Thread.currentThread().getId()); StringBuilder url = new StringBuilder("file:target/" + folder + "?initialDelay=10"); if (charset != null && !charset.equals("")) { url.append("&charset=").append(charset); diff --git a/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java b/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java index f3e4b46552..853660079e 100644 --- a/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java +++ b/integration-tests/file/src/test/java/org/apache/camel/quarkus/component/file/it/FileTest.java @@ -112,7 +112,6 @@ class FileTest { @Test public void idempotent() throws IOException { - System.out.println("CAMEL-QUARKUS-3584 => FileTest.idempotent().thread.id => " + Thread.currentThread().getId()); // Create a new file String fileName01 = createFile(FILE_CONTENT_01, "/file/create/idempotent"); @@ -150,7 +149,6 @@ class FileTest { @Test public void filter() throws IOException { - System.out.println("CAMEL-QUARKUS-3584 => FileTest.filter().thread.id => " + Thread.currentThread().getId()); String fileName = createFile(FILE_CONTENT_01, "/file/create/filter", null, "skip_" + UUID.randomUUID().toString()); createFile(FILE_CONTENT_02, "/file/create/filter"); @@ -166,7 +164,6 @@ class FileTest { @Test public void sortBy() throws IOException, InterruptedException { - System.out.println("CAMEL-QUARKUS-3584 => FileTest.sortBy().thread.id => " + Thread.currentThread().getId()); createFile(FILE_CONTENT_03, "/file/create/" + SORT_BY, null, "c_" + UUID.randomUUID().toString()); createFile(FILE_CONTENT_01, "/file/create/" + SORT_BY, null, "a_" + UUID.randomUUID().toString()); createFile(FILE_CONTENT_02, "/file/create/" + SORT_BY, null, "b_" + UUID.randomUUID().toString());