|
@@ -357,7 +357,8 @@ public class TestOptionsParser {
|
|
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());
|