You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by db...@apache.org on 2015/12/08 03:59:59 UTC
[2/2] bigtop git commit: BIGTOP-2168. A erroneous typo in
FailureVars#loadProps method
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 <db...@apache.org>
Authored: Tue Dec 8 01:31:54 2015 +0000
Committer: Dasha Boudnik <db...@apache.org>
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);