This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 216e7cd247f Refactor ShardingSphereVersionTest (#36989)
216e7cd247f is described below
commit 216e7cd247fe8409d7b0df7c8f52926b5f2a4e2c
Author: Liang Zhang <[email protected]>
AuthorDate: Sun Nov 2 10:15:35 2025 +0800
Refactor ShardingSphereVersionTest (#36989)
---
.../apache/shardingsphere/infra/version/ShardingSphereVersionTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/infra/common/src/test/java/org/apache/shardingsphere/infra/version/ShardingSphereVersionTest.java
b/infra/common/src/test/java/org/apache/shardingsphere/infra/version/ShardingSphereVersionTest.java
index e68964e227f..30ee9813881 100644
---
a/infra/common/src/test/java/org/apache/shardingsphere/infra/version/ShardingSphereVersionTest.java
+++
b/infra/common/src/test/java/org/apache/shardingsphere/infra/version/ShardingSphereVersionTest.java
@@ -32,7 +32,7 @@ class ShardingSphereVersionTest {
@Test
void assertVersion() {
assertTrue(ShardingSphereVersion.VERSION.matches("\\d+\\.\\d+\\.\\d+(-SNAPSHOT)?"));
-
assertTrue(Integer.parseInt(ShardingSphereVersion.VERSION.split("-")[0].split("\\.")[0])
>= 5);
+
assertTrue(Integer.parseInt(ShardingSphereVersion.VERSION.split("-")[0].split("\\.")[0])
>= 1);
}
@Test