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-vfs.git
commit d964132b018dc871944b1517a8319954f333c8a9 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Oct 18 17:51:27 2020 -0400 Fails randomly on Windows, so skip it on Windows. --- .../org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java index 9cc8747..ae900c3 100644 --- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java +++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/impl/test/DefaultFileMonitorTest.java @@ -18,6 +18,7 @@ package org.apache.commons.vfs2.impl.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; +import static org.junit.Assume.assumeFalse; import java.io.File; import java.io.FileWriter; @@ -25,6 +26,7 @@ import java.io.IOException; import java.util.concurrent.atomic.AtomicLong; import org.apache.commons.AbstractVfsTestCase; +import org.apache.commons.lang3.SystemUtils; import org.apache.commons.vfs2.FileChangeEvent; import org.apache.commons.vfs2.FileListener; import org.apache.commons.vfs2.FileObject; @@ -51,7 +53,7 @@ public class DefaultFileMonitorTest { @BeforeClass public static void beforeClass() { // Fails randomly on Windows. - //assumeFalse(SystemUtils.IS_OS_WINDOWS); + assumeFalse(SystemUtils.IS_OS_WINDOWS); } @Before