zrlw opened a new issue, #15565:
URL: https://github.com/apache/dubbo/issues/15565

   ### Pre-check
   
   - [x] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Dubbo Version
   
   3.3
   
   ### Steps to reproduce this issue
   
   sometime ```NacosNamingServiceUtilsTest``` might fail with
   ```
   2025-07-19T15:37:29.6103010Z [ERROR] Failures: 
   2025-07-19T15:37:29.6104188Z [ERROR]   
NacosNamingServiceUtilsTest.testRequest:165 Expected 
java.lang.IllegalStateException to be thrown, but nothing was thrown.
   2025-07-19T15:37:29.6105395Z [ERROR]   
NacosNamingServiceUtilsTest.testRetryCreate:103 Expected 
java.lang.IllegalStateException to be thrown, but nothing was thrown.
   ```
   detail message:
   ```
   2025-07-19T15:37:21.2038310Z [ERROR] 
org.apache.dubbo.registry.nacos.util.NacosNamingServiceUtilsTest.testRequest -- 
Time elapsed: 0.012 s <<< FAILURE!
   2025-07-19T15:37:21.2039767Z org.opentest4j.AssertionFailedError: Expected 
java.lang.IllegalStateException to be thrown, but nothing was thrown.
   2025-07-19T15:37:21.2041169Z         at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
   2025-07-19T15:37:21.2042195Z         at 
org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:73)
   2025-07-19T15:37:21.2043065Z         at 
org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
   2025-07-19T15:37:21.2043925Z         at 
org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3128)
   2025-07-19T15:37:21.2045166Z         at 
org.apache.dubbo.registry.nacos.util.NacosNamingServiceUtilsTest.testRequest(NacosNamingServiceUtilsTest.java:165)
   2025-07-19T15:37:21.2046280Z         at 
java.lang.reflect.Method.invoke(Method.java:498)
   2025-07-19T15:37:21.2046895Z         at 
java.util.ArrayList.forEach(ArrayList.java:1259)
   2025-07-19T15:37:21.2047487Z         at 
java.util.ArrayList.forEach(ArrayList.java:1259)
   2025-07-19T15:37:21.2048077Z 
   2025-07-19T15:37:21.2048873Z [ERROR] 
org.apache.dubbo.registry.nacos.util.NacosNamingServiceUtilsTest.testRetryCreate
 -- Time elapsed: 0.003 s <<< FAILURE!
   2025-07-19T15:37:21.2050464Z org.opentest4j.AssertionFailedError: Expected 
java.lang.IllegalStateException to be thrown, but nothing was thrown.
   2025-07-19T15:37:21.2051767Z         at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
   2025-07-19T15:37:21.2052796Z         at 
org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:73)
   2025-07-19T15:37:21.2053668Z         at 
org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
   2025-07-19T15:37:21.2054544Z         at 
org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3128)
   2025-07-19T15:37:21.2055804Z         at 
org.apache.dubbo.registry.nacos.util.NacosNamingServiceUtilsTest.testRetryCreate(NacosNamingServiceUtilsTest.java:103)
   2025-07-19T15:37:21.2056974Z         at 
java.lang.reflect.Method.invoke(Method.java:498)
   2025-07-19T15:37:21.2057930Z         at 
java.util.ArrayList.forEach(ArrayList.java:1259)
   2025-07-19T15:37:21.2058501Z         at 
java.util.ArrayList.forEach(ArrayList.java:1259)
   ```
   
   ### What you expected to happen
   
   Test successfully
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to