You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/12/18 04:00:21 UTC

[shardingsphere] branch master updated: Remove useless UT (#22947)

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

zhaojinchao 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 49e2e49b193 Remove useless UT (#22947)
49e2e49b193 is described below

commit 49e2e49b1934d73320fb0c1ae43ce7ba33311ba5
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sun Dec 18 12:00:15 2022 +0800

    Remove useless UT (#22947)
---
 .../agent/metrics/api/constant/MetricIdsTest.java  | 32 ----------------------
 1 file changed, 32 deletions(-)

diff --git a/agent/plugins/metrics/api/src/test/java/org/apache/shardingsphere/agent/metrics/api/constant/MetricIdsTest.java b/agent/plugins/metrics/api/src/test/java/org/apache/shardingsphere/agent/metrics/api/constant/MetricIdsTest.java
deleted file mode 100644
index bdcc327d98c..00000000000
--- a/agent/plugins/metrics/api/src/test/java/org/apache/shardingsphere/agent/metrics/api/constant/MetricIdsTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.shardingsphere.agent.metrics.api.constant;
-
-import org.junit.Test;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.hamcrest.MatcherAssert.assertThat;
-
-public final class MetricIdsTest {
-    
-    @Test
-    public void assertConstantsEquals() {
-        assertThat(MetricIds.PROXY_COLLECTION, is("proxy_connection_total"));
-        assertThat(MetricIds.PROXY_REQUEST, is("proxy_request_total"));
-    }
-}