You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2025/01/05 12:01:51 UTC
(dubbo) branch 3.3 updated: Disable testWriteUTF on Windows (#15035)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.3 by this push:
new 8e49668a45 Disable testWriteUTF on Windows (#15035)
8e49668a45 is described below
commit 8e49668a454a06c8b9227522ac4cf53fc3c3f98a
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Sun Jan 5 20:01:46 2025 +0800
Disable testWriteUTF on Windows (#15035)
---
.../test/java/org/apache/dubbo/serialization/SerializationTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dubbo-compatible/src/test/java/org/apache/dubbo/serialization/SerializationTest.java b/dubbo-compatible/src/test/java/org/apache/dubbo/serialization/SerializationTest.java
index 28a8cb7fff..4916a74bd9 100644
--- a/dubbo-compatible/src/test/java/org/apache/dubbo/serialization/SerializationTest.java
+++ b/dubbo-compatible/src/test/java/org/apache/dubbo/serialization/SerializationTest.java
@@ -29,6 +29,8 @@ import org.hamcrest.CoreMatchers;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledOnOs;
+import org.junit.jupiter.api.condition.OS;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
@@ -74,6 +76,7 @@ class SerializationTest {
}
@Test
+ @DisabledOnOs(OS.WINDOWS) // Charset maynot UTF-8 on Windows JDK 8 ~ 17
void testWriteUTF() throws IOException {
myObjectOutput.writeUTF("Pace");
myObjectOutput.writeUTF("和平");