BIGTOP-2168. A erroneous typo in FailureVars#loadProps method
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/74ff3e96 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/74ff3e96 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/74ff3e96 Branch: refs/heads/master Commit: 74ff3e964c0126654eae63b55dccaeed982a3a36 Parents: f92810b Author: Dasha Boudnik <[email protected]> Authored: Tue Dec 8 01:31:54 2015 +0000 Committer: Dasha Boudnik <[email protected]> Committed: Tue Dec 8 02:59:13 2015 +0000 ---------------------------------------------------------------------- .../groovy/org/apache/bigtop/itest/failures/FailureVars.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/74ff3e96/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/failures/FailureVars.groovy ---------------------------------------------------------------------- diff --git a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/failures/FailureVars.groovy b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/failures/FailureVars.groovy index 958f8bd..10f190e 100644 --- a/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/failures/FailureVars.groovy +++ b/bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/failures/FailureVars.groovy @@ -85,7 +85,7 @@ public class FailureVars { try { File pFile = new File(propertyFile); assert (pFile.exists()): "Failure properties file cannot be read"; - BufferedReader is = new BufferedReader(new InputStreamReader(getClass(pFile))); + BufferedReader is = new BufferedReader(new InputStreamReader(new FileInputStream(pFile))); System.out.println("Input Stream Location: " + is); Properties props = new Properties(); props.load(is);
