This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new 40d2aa0  [SCB-1937] fix integration test(TestAsyncInvoke) always 
timeout problem
40d2aa0 is described below

commit 40d2aa09b39653aa08864648a68f4ae98d7fa463
Author: wujimin <[email protected]>
AuthorDate: Tue May 26 23:31:36 2020 +0800

    [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem
---
 .../main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java
 
b/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java
index c2b4c48..efd89d3 100644
--- 
a/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java
+++ 
b/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java
@@ -122,6 +122,7 @@ public class TestAsyncInvoke {
     responseEntityCompletableFuture.whenComplete((responseEntity, ex) -> {
       checkLogic.accept(responseEntity, ex);
       responseChecked.value = true;
+      countDownLatch.countDown();
     });
 
     try {

Reply via email to