This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new d752f904 Comment
d752f904 is described below

commit d752f904feb7539228d73b0abbe7de6ef3aef237
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Sat Sep 17 20:30:04 2022 -0400

    Comment
---
 src/test/java/org/apache/commons/io/FileUtilsWaitForTest.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/java/org/apache/commons/io/FileUtilsWaitForTest.java 
b/src/test/java/org/apache/commons/io/FileUtilsWaitForTest.java
index a5f6a0f1..6dc52d5c 100644
--- a/src/test/java/org/apache/commons/io/FileUtilsWaitForTest.java
+++ b/src/test/java/org/apache/commons/io/FileUtilsWaitForTest.java
@@ -52,6 +52,7 @@ public class FileUtilsWaitForTest {
             wasInterrupted.set(Thread.currentThread().isInterrupted());
         });
         thread1.start();
+        // Make sure the thread does not finish before we interrupt it:
         started.countDown();
         thread1.interrupt();
         started.await();

Reply via email to