WireBaron closed pull request #18: GEODE-6163: fix the argument handling in the 
benchmark run analyzer
URL: https://github.com/apache/geode-benchmarks/pull/18
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java 
b/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java
index aa2c47a..5e288f1 100644
--- a/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java
+++ b/harness/src/main/java/org/apache/geode/perftest/analysis/Analyzer.java
@@ -32,8 +32,8 @@ public static void main(String[] args) throws IOException {
       return;
     }
 
-    String testResultArg = args[0];
-    String baselineResultArg = args[1];
+    String baselineResultArg = args[0];
+    String testResultArg = args[1];
 
     File testResultDir = new File(testResultArg);
     File baselineResultDir = new File(baselineResultArg);
@@ -61,7 +61,7 @@ public static void main(String[] args) throws IOException {
     analyzer.addProbe(new YardstickPercentileSensorParser());
     analyzer.addProbe(new YardstickHdrHistogramParser());
 
-    analyzer.analyzeTestRun(testResultDir, baselineResultDir)
+    analyzer.analyzeTestRun(baselineResultDir, testResultDir)
         .writeResult(new PrintWriter(System.out));
   }
 }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to