[ 
https://issues.apache.org/jira/browse/GEODE-6163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713186#comment-16713186
 ] 

ASF GitHub Bot commented on GEODE-6163:
---------------------------------------

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]


> Benchmark run analyzer mislabels test and baseline branches
> -----------------------------------------------------------
>
>                 Key: GEODE-6163
>                 URL: https://issues.apache.org/jira/browse/GEODE-6163
>             Project: Geode
>          Issue Type: Task
>          Components: benchmarks
>            Reporter: Brian Rowe
>            Priority: Major
>              Labels: pull-request-available
>
> ./gradlew analyzeRun --args "foo bar" now correctly treats foo as the 
> baseline and bar as the test, but outputs an incorrect message:
> Comparing test result at foo to baseline at bar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to