Repository: hbase Updated Branches: refs/heads/branch-2 5d7dfa4d1 -> f2e5727e1
HBASE-18341 (addendum) Replace '.' in test names with '_' when using them as html ids since dot have special significance in CSS selectors. Without it, we weren't able to select elements and add svg (trends columns) to them. Change-Id: Ia63ff0851f0a2fad0789a24edf2f0ad00060d578 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f2e5727e Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f2e5727e Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f2e5727e Branch: refs/heads/branch-2 Commit: f2e5727e1b0e95f5b3daee36b7b076152f2f8d85 Parents: 5d7dfa4 Author: Apekshit Sharma <[email protected]> Authored: Mon Jul 10 12:01:02 2017 -0700 Committer: Apekshit Sharma <[email protected]> Committed: Mon Jul 10 12:05:28 2017 -0700 ---------------------------------------------------------------------- dev-support/flaky-dashboard-template.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f2e5727e/dev-support/flaky-dashboard-template.html ---------------------------------------------------------------------- diff --git a/dev-support/flaky-dashboard-template.html b/dev-support/flaky-dashboard-template.html index 49ab9b0..f37c7d5 100644 --- a/dev-support/flaky-dashboard-template.html +++ b/dev-support/flaky-dashboard-template.html @@ -156,7 +156,8 @@ Legend : green: success, red: failed, yellow: timeout, blue: hanging <td align="middle"> {{ failed|length }} / {{ timeout|length }} / {{ hanging|length }} </td> - {% set sparkline_id = "sparkline_" ~ test ~ "_" ~ url_counter %} + {# Replace '.' in test names with '_' because dots are part of css selectors. #} + {% set sparkline_id = "sparkline_" ~ test|replace(".","_") ~ "_" ~ url_counter %} <td id="{{ sparkline_id }}" align="middle"> </td> <script>sparkline("{{ sparkline_id }}", "{{ failed|join(',') }}", "{{ timeout|join(',') }}",
