aboutsummaryrefslogtreecommitdiff
path: root/bigtop-test-framework
diff options
context:
space:
mode:
authorDasha Boudnik <dboudnik@apache.org>2015-12-08 01:31:54 +0000
committerDasha Boudnik <dboudnik@apache.org>2015-12-08 02:59:13 +0000
commit74ff3e964c0126654eae63b55dccaeed982a3a36 (patch)
tree8ed8e1a29abf0c66db02754317b06072286064c3 /bigtop-test-framework
parentf92810bf79f0539eb370b85664343fd3e555736b (diff)
BIGTOP-2168. A erroneous typo in FailureVars#loadProps method
Diffstat (limited to 'bigtop-test-framework')
-rw-r--r--bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/failures/FailureVars.groovy2
1 files changed, 1 insertions, 1 deletions
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 958f8bda..10f190e6 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);