HADOOP-6257. Two TestFileSystem classes are confusing hadoop-hdfs-hdfwithmr. Contributed by Philip Zeyliger.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@815809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9164c6319e
commit
7ee09e0939
|
@ -1024,6 +1024,9 @@ Trunk (unreleased changes)
|
||||||
HADOOP-6250. Modify test-patch to delete copied XML files before running
|
HADOOP-6250. Modify test-patch to delete copied XML files before running
|
||||||
patch build. (Rahul Kumar Singh via yhemanth)
|
patch build. (Rahul Kumar Singh via yhemanth)
|
||||||
|
|
||||||
|
HADOOP-6257. Two TestFileSystem classes are confusing
|
||||||
|
hadoop-hdfs-hdfwithmr. (Philip Zeyliger via tomwhite)
|
||||||
|
|
||||||
Release 0.20.1 - Unreleased
|
Release 0.20.1 - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -26,7 +26,7 @@ import java.net.URI;
|
||||||
import org.apache.hadoop.conf.Configuration;
|
import org.apache.hadoop.conf.Configuration;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
public class TestFileSystem {
|
public class TestFileSystemCaching {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCacheEnabled() throws Exception {
|
public void testCacheEnabled() throws Exception {
|
||||||
|
@ -36,7 +36,7 @@ public class TestFileSystem {
|
||||||
FileSystem fs2 = FileSystem.get(new URI("cachedfile://a"), conf);
|
FileSystem fs2 = FileSystem.get(new URI("cachedfile://a"), conf);
|
||||||
assertSame(fs1, fs2);
|
assertSame(fs1, fs2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testCacheDisabled() throws Exception {
|
public void testCacheDisabled() throws Exception {
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
Loading…
Reference in New Issue