This is an automated email from the ASF dual-hosted git repository. acosentino 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 d716780dfbd Regen for commit e4cf4f2339b1ffcc1b92d5bb61a46df8aae91e8e d716780dfbd is described below commit d716780dfbd32158292dd7cb1713afbf949bd164 Author: orpiske <orpi...@users.noreply.github.com> AuthorDate: Mon Apr 17 17:03:55 2023 +0000 Regen for commit e4cf4f2339b1ffcc1b92d5bb61a46df8aae91e8e Signed-off-by: GitHub <nore...@github.com> --- .../component/file/FileConcurrentWriteAppendSameFileTest.java | 2 -- .../camel/component/file/FileConsumeDoneFileIssueTest.java | 10 +++------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java index 27deef4a3ae..04a3eed8283 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConcurrentWriteAppendSameFileTest.java @@ -101,8 +101,6 @@ public class FileConcurrentWriteAppendSameFileTest extends ContextTestSupport { log.info(txt); } - - @Override protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { diff --git a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java index 81228413987..09d60115a69 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/file/FileConsumeDoneFileIssueTest.java @@ -54,11 +54,9 @@ public class FileConsumeDoneFileIssueTest extends ContextTestSupport { assertMockEndpointsSatisfied(); assertTrue(notify.matchesWaitTime()); - // the done file should be deleted Awaitility.await().atLeast(50, TimeUnit.MILLISECONDS).untilAsserted( - () -> assertFalse(Files.exists(testFile("done/foo.done")), "Done file should be deleted") - ); + () -> assertFalse(Files.exists(testFile("done/foo.done")), "Done file should be deleted")); } @Test @@ -85,8 +83,7 @@ public class FileConsumeDoneFileIssueTest extends ContextTestSupport { // the done file should be deleted Awaitility.await().atLeast(50, TimeUnit.MILLISECONDS).untilAsserted( - () -> assertFalse(Files.exists(testFile("done2/a.txt.done")), "Done file should be deleted") - ); + () -> assertFalse(Files.exists(testFile("done2/a.txt.done")), "Done file should be deleted")); // the done file should be deleted assertFalse(Files.exists(testFile("done2/b.txt.done")), "Done file should be deleted"); @@ -118,8 +115,7 @@ public class FileConsumeDoneFileIssueTest extends ContextTestSupport { // the done file should be deleted Awaitility.await().atLeast(50, TimeUnit.MILLISECONDS).untilAsserted( - () -> assertFalse(Files.exists(testFile("done2/$a$.txt.done")), "Done file should be deleted") - ); + () -> assertFalse(Files.exists(testFile("done2/$a$.txt.done")), "Done file should be deleted")); assertFalse(Files.exists(testFile("done2/$b.txt.done")), "Done file should be deleted"); assertFalse(Files.exists(testFile("done2/c$.txt.done")), "Done file should be deleted");