You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2022/12/04 01:29:02 UTC
[incubator-eventmesh] branch master updated: fixed #2342 (#2442)
This is an automated email from the ASF dual-hosted git repository.
jonyang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new 95780b9db fixed #2342 (#2442)
95780b9db is described below
commit 95780b9dbad407ad31dca983378867f4f69f2ce8
Author: keranbingaa <39...@qq.com>
AuthorDate: Sun Dec 4 09:28:58 2022 +0800
fixed #2342 (#2442)
---
.../apache/eventmesh/connector/redis/producer/RedisProducerTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/producer/RedisProducerTest.java b/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/producer/RedisProducerTest.java
index 7494c1727..15dd65ff0 100644
--- a/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/producer/RedisProducerTest.java
+++ b/eventmesh-connector-plugin/eventmesh-connector-redis/src/test/java/org/apache/eventmesh/connector/redis/producer/RedisProducerTest.java
@@ -23,6 +23,7 @@ import org.apache.eventmesh.api.exception.OnExceptionContext;
import org.apache.eventmesh.connector.redis.AbstractRedisServer;
import java.net.URI;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import java.util.Properties;
import java.util.UUID;
@@ -65,7 +66,7 @@ public class RedisProducerTest extends AbstractRedisServer {
.withSubject(RedisProducerTest.class.getSimpleName())
.withType(String.class.getCanonicalName())
.withDataContentType("text/plain")
- .withData("data".getBytes())
+ .withData("data".getBytes(StandardCharsets.UTF_8))
.build();
redisProducer.publish(cloudEvent, new SendCallback() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org