VaishnaviR18 commented on code in PR #12844: URL: https://github.com/apache/camel/pull/12844#discussion_r1459344575
########## core/camel-core/src/test/java/org/apache/camel/component/file/strategy/FileChangedReadLockTest.java: ########## @@ -68,7 +72,7 @@ private void writeSlowFile() throws Exception { for (int i = 0; i < 20; i++) { fos.write(("Line " + i + LS).getBytes()); LOG.debug("Writing line {}", i); - Thread.sleep(50); + latch.await(50, TimeUnit.MILLISECONDS); Review Comment: Thanks! I have reverted the changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org