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

Aias00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 97eae6ef75 test(client): fix HeartbeatFailureIsolationTest after 
startup refactor (#7403)
97eae6ef75 is described below

commit 97eae6ef75f588a5334dc62cbbd5f4b31246fc31
Author: wy471x <[email protected]>
AuthorDate: Fri Oct 2 12:29:41 2026 +0800

    test(client): fix HeartbeatFailureIsolationTest after startup refactor 
(#7403)
---
 .../client/core/disruptor/subcriber/HeartbeatFailureIsolationTest.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/shenyu-client/shenyu-client-core/src/test/java/org/apache/shenyu/client/core/disruptor/subcriber/HeartbeatFailureIsolationTest.java
 
b/shenyu-client/shenyu-client-core/src/test/java/org/apache/shenyu/client/core/disruptor/subcriber/HeartbeatFailureIsolationTest.java
index c63d576a12..d540989e59 100644
--- 
a/shenyu-client/shenyu-client-core/src/test/java/org/apache/shenyu/client/core/disruptor/subcriber/HeartbeatFailureIsolationTest.java
+++ 
b/shenyu-client/shenyu-client-core/src/test/java/org/apache/shenyu/client/core/disruptor/subcriber/HeartbeatFailureIsolationTest.java
@@ -45,6 +45,7 @@ public final class HeartbeatFailureIsolationTest {
     public void failureDoesNotSuppressOtherUrisOrSubsequentTicks() {
         ShenyuClientRegisterRepository repository = 
mock(ShenyuClientRegisterRepository.class);
         ShenyuClientURIExecutorSubscriber subscriber = new 
ShenyuClientURIExecutorSubscriber(repository);
+        subscriber.start();
         ScheduledThreadPoolExecutor executor = (ScheduledThreadPoolExecutor) 
ReflectionTestUtils.getField(subscriber, "executor");
         List<URIRegisterDTO> uris = (List<URIRegisterDTO>) 
ReflectionTestUtils.getField(subscriber, "uris");
         URIRegisterDTO failing = 
URIRegisterDTO.builder().host("localhost").port(18080).build();

Reply via email to