Repository: bigtop Updated Branches: refs/heads/master 68304025b -> 74ff3e964
Revert "BIGTOP-2168. A erroneous typo in FailureVars#loadProps method" This reverts commit 68304025b821fab6b72b6202ee94936e49a767b9. Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/f92810bf Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/f92810bf Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/f92810bf Branch: refs/heads/master Commit: f92810bf79f0539eb370b85664343fd3e555736b Parents: 6830402 Author: Dasha Boudnik <[email protected]> Authored: Tue Dec 8 02:57:45 2015 +0000 Committer: Dasha Boudnik <[email protected]> Committed: Tue Dec 8 02:57:45 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/f92810bf/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 10f190e..958f8bd 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(new FileInputStream(pFile))); + BufferedReader is = new BufferedReader(new InputStreamReader(getClass(pFile))); System.out.println("Input Stream Location: " + is); Properties props = new Properties(); props.load(is);
