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 32842dfed1292ef7957b2c6cbf4dcef21a7b913a..9ee8fc0739245f82e2c582800324b45d0ba37461 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");