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

terrymanu 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 c274f44dfca Remove DockerImageVersionTest (#39820)
c274f44dfca is described below

commit c274f44dfca4b47fa399674e87281f7a49e8d546
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Sep 13 01:55:35 2026 +0800

    Remove DockerImageVersionTest (#39820)
---
 .../env/container/util/DockerImageVersionTest.java | 37 ----------------------
 1 file changed, 37 deletions(-)

diff --git 
a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/util/DockerImageVersionTest.java
 
b/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/util/DockerImageVersionTest.java
deleted file mode 100644
index 23c75fbb1b0..00000000000
--- 
a/test/e2e/env/src/test/java/org/apache/shardingsphere/test/e2e/env/container/util/DockerImageVersionTest.java
+++ /dev/null
@@ -1,37 +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.test.e2e.env.container.util;
-
-import org.junit.jupiter.params.ParameterizedTest;
-import org.junit.jupiter.params.provider.CsvSource;
-
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.Matchers.is;
-
-class DockerImageVersionTest {
-    
-    @ParameterizedTest(name = "{0}")
-    @CsvSource({
-            "mysql:8.4.0, 8",
-            "mysql:8.4.0-oracle, 8",
-            "mysql:latest, 0"
-    })
-    void assertGetMajorVersion(final String dockerImageName, final int 
expectedMajorVersion) {
-        assertThat(new DockerImageVersion(dockerImageName).getMajorVersion(), 
is(expectedMajorVersion));
-    }
-}

Reply via email to