Adar Dembo has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13471 )

Change subject: metrics-test: fix wrong metric name and improve metric 
filtering test
......................................................................

metrics-test: fix wrong metric name and improve metric filtering test

This patch fixes wrong metric name in MetricsTest.JsonPrintTest,
it should match as a case-insensitive substring of "test_counter"
instead of "My Test Counter".
Besides, this patch also adds another metric test_gauge to test
whether metric filtering works.

Change-Id: Iec50aa2364d5d5f98a89d4aa7a3b213a39afd569
Reviewed-on: http://gerrit.cloudera.org:8080/13471
Reviewed-by: Adar Dembo <a...@cloudera.com>
Tested-by: Adar Dembo <a...@cloudera.com>
---
M src/kudu/util/metrics-test.cc
1 file changed, 27 insertions(+), 9 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/13471
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iec50aa2364d5d5f98a89d4aa7a3b213a39afd569
Gerrit-Change-Number: 13471
Gerrit-PatchSet: 4
Gerrit-Owner: Yifan Zhang <chinazhangyi...@163.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Yifan Zhang <chinazhangyi...@163.com>

Reply via email to