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:02:24 UTC

bigtop git commit: BIGTOP-2168. A erroneous typo in FailureVars#loadProps method

Repository: bigtop
Updated Branches:
  refs/heads/master 046d3e206 -> 68304025b


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/68304025
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/68304025
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/68304025

Branch: refs/heads/master
Commit: 68304025b821fab6b72b6202ee94936e49a767b9
Parents: 046d3e2
Author: root <ro...@vmhost05-hbase5.bdva.wandisco.com>
Authored: Tue Dec 8 01:31:54 2015 +0000
Committer: root <ro...@vmhost05-hbase5.bdva.wandisco.com>
Committed: Tue Dec 8 01:31:54 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/68304025/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);