HDFS-7514. TestTextCommand fails on Windows. (Arpit Agarwal)
This commit is contained in:
parent
d9f31c6472
commit
d15fb57f46
|
@ -325,6 +325,8 @@ Release 2.7.0 - UNRELEASED
|
||||||
HDFS-7517. Remove redundant non-null checks in FSNamesystem#
|
HDFS-7517. Remove redundant non-null checks in FSNamesystem#
|
||||||
getBlockLocations. (wheat9)
|
getBlockLocations. (wheat9)
|
||||||
|
|
||||||
|
HDFS-7514. TestTextCommand fails on Windows. (Arpit Agarwal)
|
||||||
|
|
||||||
Release 2.6.1 - UNRELEASED
|
Release 2.6.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -42,9 +42,8 @@ import org.junit.Test;
|
||||||
* This class tests the logic for displaying the binary formats supported
|
* This class tests the logic for displaying the binary formats supported
|
||||||
* by the Text command.
|
* by the Text command.
|
||||||
*/
|
*/
|
||||||
public class TestTextCommand {
|
public class TestHdfsTextCommand {
|
||||||
private static final String TEST_ROOT_DIR =
|
private static final String TEST_ROOT_DIR = "/build/test/data/testText";
|
||||||
System.getProperty("test.build.data", "build/test/data/") + "/testText";
|
|
||||||
private static final Path AVRO_FILENAME = new Path(TEST_ROOT_DIR, "weather.avro");
|
private static final Path AVRO_FILENAME = new Path(TEST_ROOT_DIR, "weather.avro");
|
||||||
private static MiniDFSCluster cluster;
|
private static MiniDFSCluster cluster;
|
||||||
private static FileSystem fs;
|
private static FileSystem fs;
|
||||||
|
@ -214,5 +213,3 @@ public class TestTextCommand {
|
||||||
return contents;
|
return contents;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue