You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/12/02 02:40:58 UTC
[incubator-eventmesh] branch master updated: fix issue 2346
This is an automated email from the ASF dual-hosted git repository.
mikexue 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 63d92946f fix issue 2346
new 6dbd73306 Merge pull request #2358 from jonyangx/issue2346
63d92946f is described below
commit 63d92946f47567b439c823132b93a34707709dec
Author: jonyangx <jo...@gmail.com>
AuthorDate: Fri Dec 2 09:52:09 2022 +0800
fix issue 2346
---
.../connector/rabbitmq/cloudevent/RabbitmqCloudEventTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/test/java/org/apache/eventmesh/connector/rabbitmq/cloudevent/RabbitmqCloudEventTest.java b/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/test/java/org/apache/eventmesh/connector/rabbitmq/cloudevent/RabbitmqCloudEventTest.java
index 99a7c284d..687a399eb 100644
--- a/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/test/java/org/apache/eventmesh/connector/rabbitmq/cloudevent/RabbitmqCloudEventTest.java
+++ b/eventmesh-connector-plugin/eventmesh-connector-rabbitmq/src/test/java/org/apache/eventmesh/connector/rabbitmq/cloudevent/RabbitmqCloudEventTest.java
@@ -18,6 +18,7 @@
package org.apache.eventmesh.connector.rabbitmq.cloudevent;
import java.net.URI;
+import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
import org.junit.Assert;
@@ -40,7 +41,7 @@ public class RabbitmqCloudEventTest {
.withSubject("topic")
.withType(String.class.getCanonicalName())
.withDataContentType("text/plain")
- .withData("data".getBytes())
+ .withData("data".getBytes(StandardCharsets.UTF_8))
.build();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org