HDFS-6872. Fix TestOptionsParser. (clamb)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1618974 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0cc08f6da4
commit
14b01dd046
@ -14,5 +14,7 @@ fs-encryption (Unreleased)
|
|||||||
MAPREDUCE-6007. Add support to distcp to preserve raw.* namespace
|
MAPREDUCE-6007. Add support to distcp to preserve raw.* namespace
|
||||||
extended attributes. (clamb)
|
extended attributes. (clamb)
|
||||||
|
|
||||||
|
HDFS-6872. Fix TestOptionsParser. (clamb)
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
|
@ -357,7 +357,8 @@ public void testToString() {
|
|||||||
DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz"));
|
DistCpOptions option = new DistCpOptions(new Path("abc"), new Path("xyz"));
|
||||||
String val = "DistCpOptions{atomicCommit=false, syncFolder=false, deleteMissing=false, " +
|
String val = "DistCpOptions{atomicCommit=false, syncFolder=false, deleteMissing=false, " +
|
||||||
"ignoreFailures=false, maxMaps=20, sslConfigurationFile='null', copyStrategy='uniformsize', " +
|
"ignoreFailures=false, maxMaps=20, sslConfigurationFile='null', copyStrategy='uniformsize', " +
|
||||||
"sourceFileListing=abc, sourcePaths=null, targetPath=xyz, targetPathExists=true}";
|
"sourceFileListing=abc, sourcePaths=null, targetPath=xyz, targetPathExists=true, " +
|
||||||
|
"preserveRawXattrs=false}";
|
||||||
Assert.assertEquals(val, option.toString());
|
Assert.assertEquals(val, option.toString());
|
||||||
Assert.assertNotSame(DistCpOptionSwitch.ATOMIC_COMMIT.toString(),
|
Assert.assertNotSame(DistCpOptionSwitch.ATOMIC_COMMIT.toString(),
|
||||||
DistCpOptionSwitch.ATOMIC_COMMIT.name());
|
DistCpOptionSwitch.ATOMIC_COMMIT.name());
|
||||||
|
Loading…
Reference in New Issue
Block a user