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

zrlw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-integration-cases.git


The following commit(s) were added to refs/heads/main by this push:
     new cf52a90b Prolong reference check time of dubbo-samples-test-13078 to 
avoid no provider issue (#68)
cf52a90b is described below

commit cf52a90b3086b5eda8884ba2244124d8937ac690
Author: zrlw <[email protected]>
AuthorDate: Thu Jun 26 09:16:34 2025 +0800

    Prolong reference check time of dubbo-samples-test-13078 to avoid no 
provider issue (#68)
---
 .../test/java/org/apache/dubbo/samples/client/GreetingServiceIT.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/99-integration/dubbo-samples-test-13078/src/test/java/org/apache/dubbo/samples/client/GreetingServiceIT.java
 
b/99-integration/dubbo-samples-test-13078/src/test/java/org/apache/dubbo/samples/client/GreetingServiceIT.java
index ceda1409..f07c39eb 100644
--- 
a/99-integration/dubbo-samples-test-13078/src/test/java/org/apache/dubbo/samples/client/GreetingServiceIT.java
+++ 
b/99-integration/dubbo-samples-test-13078/src/test/java/org/apache/dubbo/samples/client/GreetingServiceIT.java
@@ -69,9 +69,10 @@ public class GreetingServiceIT {
         await().atMost(60, TimeUnit.SECONDS).untilAsserted(
                 () -> Assertions.assertEquals(2, endpoints.size()));
 
-        // wait invoker re-valid to avoid RpcException with no provider 
available.
+        // By default, connectivityExecutor delays 1s to set invoker re-valid,
+        // so wait at most 2s to avoid RpcException with no provider available.
         try {
-            reference.checkOrDestroy(1000);
+            reference.checkOrDestroy(2000);
         } catch (IllegalStateException e) {
             Assertions.fail();
         }

Reply via email to