HADOOP-8444. Fix the tests FSMainOperationsBaseTest.java and FileContextMainOperationsBaseTest.java to avoid potential test failure. Contributed by Madhukara Phatak. (harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1343732 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d2b57e00bc
commit
e576bac2f7
@ -215,6 +215,10 @@ Release 2.0.1-alpha - UNRELEASED
|
|||||||
HADOOP-8268. A few pom.xml across Hadoop project
|
HADOOP-8268. A few pom.xml across Hadoop project
|
||||||
may fail XML validation. (Radim Kolar via harsh)
|
may fail XML validation. (Radim Kolar via harsh)
|
||||||
|
|
||||||
|
HADOOP-8444. Fix the tests FSMainOperationsBaseTest.java and
|
||||||
|
FileContextMainOperationsBaseTest.java to avoid potential
|
||||||
|
test failure (Madhukara Phatak via harsh)
|
||||||
|
|
||||||
Release 2.0.0-alpha - UNRELEASED
|
Release 2.0.0-alpha - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -75,7 +75,7 @@ public boolean accept(final Path file) {
|
|||||||
//A test filter with returns any path containing a "b"
|
//A test filter with returns any path containing a "b"
|
||||||
final private static PathFilter TEST_X_FILTER = new PathFilter() {
|
final private static PathFilter TEST_X_FILTER = new PathFilter() {
|
||||||
public boolean accept(Path file) {
|
public boolean accept(Path file) {
|
||||||
if(file.getName().contains("x") || file.toString().contains("X"))
|
if(file.getName().contains("x") || file.getName().contains("X"))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
@ -75,7 +75,7 @@ public boolean accept(final Path file) {
|
|||||||
//A test filter with returns any path containing a "b"
|
//A test filter with returns any path containing a "b"
|
||||||
final private static PathFilter TEST_X_FILTER = new PathFilter() {
|
final private static PathFilter TEST_X_FILTER = new PathFilter() {
|
||||||
public boolean accept(Path file) {
|
public boolean accept(Path file) {
|
||||||
if(file.getName().contains("x") || file.toString().contains("X"))
|
if(file.getName().contains("x") || file.getName().contains("X"))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user