You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by xi...@apache.org on 2020/08/25 10:12:56 UTC

[shardingsphere] branch master updated: rename methods in MetricsUtilsTest

This is an automated email from the ASF dual-hosted git repository.

xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new b6d26b7  rename methods in MetricsUtilsTest
     new 86b1dcb  Merge pull request #7063 from kimmking/renameMetricsTest
b6d26b7 is described below

commit b6d26b7b45c1a326cdda3200cdc37f5d0ee07681
Author: kimmking <ki...@apache.org>
AuthorDate: Tue Aug 25 17:56:29 2020 +0800

    rename methods in MetricsUtilsTest
---
 .../apache/shardingsphere/proxy/backend/metrics/MetricsUtilsTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/metrics/MetricsUtilsTest.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/metrics/MetricsUtilsTest.java
index 32842df..9ee8fc0 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/metrics/MetricsUtilsTest.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/metrics/MetricsUtilsTest.java
@@ -29,7 +29,7 @@ import java.util.Collections;
 public final class MetricsUtilsTest {
     
     @Test
-    public void testBuriedShardingMetrics() {
+    public void assertCollectRouteUnitMetrics() {
         RouteMapper dataSourceMapper = new RouteMapper("ds", "ds_0");
         RouteMapper tableMapper = new RouteMapper("t_order", "t_order_0");
         RouteUnit unit = new RouteUnit(dataSourceMapper, Collections.singletonList(tableMapper));
@@ -37,7 +37,7 @@ public final class MetricsUtilsTest {
     }
     
     @Test
-    public void testBuriedTransactionMetric() {
+    public void assertCollectTransactionMetric() {
         MetricsUtils.collectTransactionMetric("begin");
         MetricsUtils.collectTransactionMetric("commit");
         MetricsUtils.collectTransactionMetric("rollback");