aboutsummaryrefslogtreecommitdiff
path: root/bigtop-test-framework
diff options
context:
space:
mode:
authorroot <root@vmhost05-hbase5.bdva.wandisco.com>2015-12-08 01:31:54 +0000
committerroot <root@vmhost05-hbase5.bdva.wandisco.com>2015-12-08 01:31:54 +0000
commit68304025b821fab6b72b6202ee94936e49a767b9 (patch)
tree8ed8e1a29abf0c66db02754317b06072286064c3 /bigtop-test-framework
parent046d3e206e7cea1457d0e844a8e0418006d831f3 (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);