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 2023/01/08 16:04:42 UTC

[incubator-eventmesh] branch master updated: fix issue2819

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 62b39d7ed fix issue2819
     new 2d0863641 Merge pull request #2820 from jonyangx/issue2819
62b39d7ed is described below

commit 62b39d7eddbcb8b864f672b0aa7b8fce450b7c5f
Author: jonyangx <ya...@gmail.com>
AuthorDate: Wed Jan 4 21:33:02 2023 +0800

    fix issue2819
---
 .../eventmesh/client/grpc/consumer/EventMeshGrpcConsumerTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-sdk-java/src/test/java/org/apache/eventmesh/client/grpc/consumer/EventMeshGrpcConsumerTest.java b/eventmesh-sdk-java/src/test/java/org/apache/eventmesh/client/grpc/consumer/EventMeshGrpcConsumerTest.java
index 28fd5f79c..3ef1ba6b5 100644
--- a/eventmesh-sdk-java/src/test/java/org/apache/eventmesh/client/grpc/consumer/EventMeshGrpcConsumerTest.java
+++ b/eventmesh-sdk-java/src/test/java/org/apache/eventmesh/client/grpc/consumer/EventMeshGrpcConsumerTest.java
@@ -103,7 +103,7 @@ public class EventMeshGrpcConsumerTest {
         assertThat(eventMeshGrpcConsumer.subscribe(Collections.singletonList(buildMockSubscriptionItem()),
             "customUrl")).isEqualTo(Response.getDefaultInstance());
         verify(consumerClient, times(1)).subscribe(any());
-        verify(heartbeatClient, Mockito.after(10000L).times(1)).heartbeat(any());
+        verify(heartbeatClient, Mockito.after(20_000L).times(1)).heartbeat(any());
         assertThat(eventMeshGrpcConsumer.unsubscribe(Collections.singletonList(buildMockSubscriptionItem()),
             "customUrl")).isEqualTo(Response.getDefaultInstance());
         verify(consumerClient, times(1)).unsubscribe(any());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org