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 39bcd007bd [ISSUE #7401] test: start heartbeat task before asserting 
it (#7402)
39bcd007bd is described below

commit 39bcd007bdfd21cb08d790afd5598bd1fdfcf81b
Author: Jerry聊AI <[email protected]>
AuthorDate: Fri Oct 2 12:29:25 2026 +0800

    [ISSUE #7401] test: start heartbeat task before asserting it (#7402)
---
 .../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 5a7520a0a5..c63d576a12 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
@@ -54,6 +54,7 @@ public final class HeartbeatFailureIsolationTest {
             uris.clear();
             uris.add(failing);
             uris.add(healthy);
+            subscriber.start();
             RunnableScheduledFuture<?> task = (RunnableScheduledFuture<?>) 
executor.getQueue().iterator().next();
             for (int tick = 0; tick < 2; tick++) {
                 executor.getQueue().remove(task);

Reply via email to