HADOOP-15769. ABFS: distcp tests are always skipped.

Contributed by Steve Loughran
This commit is contained in:
Steve Loughran 2018-09-19 13:57:39 +01:00 committed by Yuan Gao
parent 1efa1b73a9
commit 10e149d882
2 changed files with 10 additions and 0 deletions

View File

@ -37,6 +37,11 @@ public class ITestAbfsFileSystemContractDistCp extends AbstractContractDistCpTes
super.setup();
}
@Override
protected Configuration createConfiguration() {
return binding.getRawConfiguration();
}
@Override
protected AbfsFileSystemContract createContract(Configuration conf) {
return new AbfsFileSystemContract(conf, false);

View File

@ -37,6 +37,11 @@ public class ITestAbfsFileSystemContractSecureDistCp extends AbstractContractDis
super.setup();
}
@Override
protected Configuration createConfiguration() {
return binding.getRawConfiguration();
}
@Override
protected AbfsFileSystemContract createContract(Configuration conf) {
return new AbfsFileSystemContract(conf, true);