This is an automated email from the ASF dual-hosted git repository.
linghengqian 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 00bf31e9c9a Improve shardingsphere.infra.url test cases (#30237)
00bf31e9c9a is described below
commit 00bf31e9c9aa6c2a155d5ffe428421be2d19bb6c
Author: zhengke zhou <[email protected]>
AuthorDate: Wed Feb 21 23:19:58 2024 +0800
Improve shardingsphere.infra.url test cases (#30237)
---
.../infra/url/absolutepath/AbsolutePathURLLoaderTest.java | 2 +-
.../shardingsphere/infra/url/classpath/ClassPathURLLoaderTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/infra/url/type/absolutepath/src/test/java/org/apache/shardingsphere/infra/url/absolutepath/AbsolutePathURLLoaderTest.java
b/infra/url/type/absolutepath/src/test/java/org/apache/shardingsphere/infra/url/absolutepath/AbsolutePathURLLoaderTest.java
index c859c0021ff..0ef311cebfc 100644
---
a/infra/url/type/absolutepath/src/test/java/org/apache/shardingsphere/infra/url/absolutepath/AbsolutePathURLLoaderTest.java
+++
b/infra/url/type/absolutepath/src/test/java/org/apache/shardingsphere/infra/url/absolutepath/AbsolutePathURLLoaderTest.java
@@ -38,7 +38,7 @@ class AbsolutePathURLLoaderTest {
@Test
@EnabledOnOs(OS.WINDOWS)
void assertGetContentOnWindows() {
- assertGetContent(1824);
+ assertGetContent(1839);
}
private void assertGetContent(final int expectedLength) {
diff --git
a/infra/url/type/classpath/src/test/java/org/apache/shardingsphere/infra/url/classpath/ClassPathURLLoaderTest.java
b/infra/url/type/classpath/src/test/java/org/apache/shardingsphere/infra/url/classpath/ClassPathURLLoaderTest.java
index 247470a58a9..d54a8a40101 100644
---
a/infra/url/type/classpath/src/test/java/org/apache/shardingsphere/infra/url/classpath/ClassPathURLLoaderTest.java
+++
b/infra/url/type/classpath/src/test/java/org/apache/shardingsphere/infra/url/classpath/ClassPathURLLoaderTest.java
@@ -37,7 +37,7 @@ class ClassPathURLLoaderTest {
@Test
@EnabledOnOs(OS.WINDOWS)
void assertGetContentOnWindows() {
- assertGetContent(1824);
+ assertGetContent(1839);
}
private void assertGetContent(final int expectedLength) {