From 3ecccf02def9a284fa3da0eb0c3cc7e531b1df7d Mon Sep 17 00:00:00 2001 From: joewitt Date: Mon, 7 Dec 2015 20:44:21 -0500 Subject: [PATCH] NIFI-1267 removed previous technique to force exception in test --- .../java/org/apache/nifi/processors/hadoop/PutHDFSTest.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/PutHDFSTest.java b/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/PutHDFSTest.java index 97ab990dd1..85e203e244 100644 --- a/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/PutHDFSTest.java +++ b/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/test/java/org/apache/nifi/processors/hadoop/PutHDFSTest.java @@ -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) {