diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-06 14:44:47 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-03-07 08:20:43 +0100 |
commit | a2a28ef2f3532ac26de88b746305d26f900b16fc (patch) | |
tree | 6b4c1e89b788b7c2f9596a296b674cee6183fea4 /utils/test/reporting/storperf/template/index-status-tmpl.html | |
parent | d0c327484b58ffbbf9775b8aad6a25999246d3d6 (diff) |
bug fix: last 4 run reporting for storperf
- bug fix:
copy/paste of yardstick code but list of results
is not sorted by default, taking the last 4 array
items lead to random results on the 4 last run
sort results before taking the last 4 results
to establish last 4 run criteria
- enhancement: add link to last CI run in the
reporting page
- fix trend line bug
Change-Id: Ice16832a81cb65503a63b16321a2be92a427d279
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/storperf/template/index-status-tmpl.html')
-rw-r--r-- | utils/test/reporting/storperf/template/index-status-tmpl.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/test/reporting/storperf/template/index-status-tmpl.html b/utils/test/reporting/storperf/template/index-status-tmpl.html index e3a18b1ce..e0fcc6828 100644 --- a/utils/test/reporting/storperf/template/index-status-tmpl.html +++ b/utils/test/reporting/storperf/template/index-status-tmpl.html @@ -25,7 +25,7 @@ } // trend line management - d3.csv("./scenario_history.csv", function(data) { + d3.csv("./scenario_history.txt", function(data) { // *************************************** // Create the trend line {% for scenario in scenario_results.keys() -%} @@ -95,7 +95,7 @@ </tr> {% for scenario,result in scenario_results.iteritems() -%} <tr class="tr-ok"> - <td>{{scenario}}</td> + <td><a href="{{scenario_results[scenario].getLastUrl()}}">{{scenario}}</a></td> <td><div id="gaugeScenario{{loop.index}}"></div></td> <td><div id="trend_svg{{loop.index}}"></div></td> <td>{{scenario_results[scenario].getFourDaysScore()}}</td> |