This is an automated email from the ASF dual-hosted git repository. inigoiri pushed a commit to branch branch-3.1 in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.1 by this push: new b05d8de HADOOP-16045. Don't run TestDU on Windows. Contributed by Lukas Majercak. b05d8de is described below commit b05d8de10ea230204aa741c6f25dc02339441779 Author: Inigo Goiri <inigo...@apache.org> AuthorDate: Fri Jan 11 18:07:19 2019 -0800 HADOOP-16045. Don't run TestDU on Windows. Contributed by Lukas Majercak. (cherry picked from commit 35fa3bd685605d8b3639e6c5cbe83cd9acd8cbe7) --- .../hadoop-common/src/test/java/org/apache/hadoop/fs/TestDU.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDU.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDU.java index a22b765..f340cc2 100644 --- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDU.java +++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestDU.java @@ -17,10 +17,12 @@ */ package org.apache.hadoop.fs; +import org.apache.hadoop.util.Shell; import org.junit.After; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; +import static org.junit.Assume.assumeFalse; import java.io.File; import java.io.IOException; @@ -37,6 +39,7 @@ public class TestDU { @Before public void setUp() { + assumeFalse(Shell.WINDOWS); FileUtil.fullyDelete(DU_DIR); assertTrue(DU_DIR.mkdirs()); } --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org