orpiske commented on code in PR #12844: URL: https://github.com/apache/camel/pull/12844#discussion_r1459017045
########## 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: The latch has to wait on something for it to count down. As it is, it's just timing out. -- 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