You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2026/07/11 10:16:35 UTC

(pekko) branch main updated: fix: restore harmless quarantine propagation coverage (#3322)

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

He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new d50f1acd1b fix: restore harmless quarantine propagation coverage (#3322)
d50f1acd1b is described below

commit d50f1acd1b0d5ca5e275975a696507de3352116e
Author: He-Pin(kerr) <he...@gmail.com>
AuthorDate: Sat Jul 11 18:16:30 2026 +0800

    fix: restore harmless quarantine propagation coverage (#3322)
    
    Motivation:
    OutboundIdleShutdownSpec still expects harmless quarantine events to propagate, but Pekko 2.0 changed the production default to off. The test therefore waits for an event that cannot be emitted.
    
    Modification:
    Enable propagate-harmless-quarantine-events explicitly for OutboundIdleShutdownSpec while leaving the production default and HarmlessQuarantineSpec unchanged.
    
    Result:
    The spec continues to cover legacy propagation, while HarmlessQuarantineSpec covers the default suppression behavior.
    
    Tests:
    - remote focused harmless echo test: passed 3 consecutive runs
    - OutboundIdleShutdownSpec and HarmlessQuarantineSpec: 10 tests passed
    - sbt checkCodeStyle: passed
    - sbt +headerCheckAll: passed
    - git diff --check: passed
    
    References:
    Refs #2430
---
 .../scala/org/apache/pekko/remote/artery/OutboundIdleShutdownSpec.scala  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/remote/src/test/scala/org/apache/pekko/remote/artery/OutboundIdleShutdownSpec.scala b/remote/src/test/scala/org/apache/pekko/remote/artery/OutboundIdleShutdownSpec.scala
index a2d3c2c3d0..9a750e44a1 100644
--- a/remote/src/test/scala/org/apache/pekko/remote/artery/OutboundIdleShutdownSpec.scala
+++ b/remote/src/test/scala/org/apache/pekko/remote/artery/OutboundIdleShutdownSpec.scala
@@ -34,6 +34,7 @@ import org.scalatest.time.Span.convertSpanToDuration
 
 class OutboundIdleShutdownSpec extends ArteryMultiNodeSpec("""
   pekko.loglevel=INFO
+  pekko.remote.artery.propagate-harmless-quarantine-events = on
   pekko.remote.artery.advanced {
     stop-idle-outbound-after = 1 s
     connection-timeout = 2 s


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org