NIFI-1267 removed previous technique to force exception in test

This commit is contained in:
joewitt 2015-12-07 20:44:21 -05:00
parent 0c7617b686
commit 3ecccf02de
1 changed files with 0 additions and 4 deletions

View File

@ -210,10 +210,6 @@ public class PutHDFSTest {
FileSystem fs = FileSystem.get(config);
Path p = new Path(dirName).makeQualified(fs.getUri(), fs.getWorkingDirectory());
// modify permissions to ensure no one can write to this directory,
// forcing IOException downstream
fs.setPermission(p, new FsPermission(FsAction.READ, FsAction.READ, FsAction.READ));
TestRunner runner = TestRunners.newTestRunner(new PutHDFS() {
@Override
protected void changeOwner(ProcessContext context, FileSystem hdfs, Path name) {