HADOOP-10162. Fix symlink-related test failures in TestFileContextResolveAfs and TestStat in branch-2 (Mit Desai via Colin Patrick McCabe)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1550487 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb6f28e122
commit
f7e842683d
|
@ -174,6 +174,10 @@ Release 2.4.0 - UNRELEASED
|
|||
HADOOP-10058. TestMetricsSystemImpl#testInitFirstVerifyStopInvokedImmediately
|
||||
fails on trunk (Chen He via jeagles)
|
||||
|
||||
HADOOP-10162. Fix symlink-related test failures in
|
||||
TestFileContextResolveAfs and TestStat in branch-2 (Mit Desai via Colin
|
||||
Patrick McCabe)
|
||||
|
||||
Release 2.3.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -31,7 +31,9 @@ import org.junit.Test;
|
|||
* Tests resolution of AbstractFileSystems for a given path with symlinks.
|
||||
*/
|
||||
public class TestFileContextResolveAfs {
|
||||
|
||||
static{
|
||||
FileSystem.enableSymlinks();
|
||||
}
|
||||
private static String TEST_ROOT_DIR_LOCAL
|
||||
= System.getProperty("test.build.data","/tmp");
|
||||
|
||||
|
|
|
@ -32,7 +32,9 @@ import org.junit.BeforeClass;
|
|||
import org.junit.Test;
|
||||
|
||||
public class TestStat extends FileSystemTestHelper {
|
||||
|
||||
static{
|
||||
FileSystem.enableSymlinks();
|
||||
}
|
||||
private static Stat stat;
|
||||
|
||||
@BeforeClass
|
||||
|
|
Loading…
Reference in New Issue