The GitHub Actions job "Pull Requests" on 
pekko.git/quarantine-harmless-downself has succeeded.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
67b460fb09095cef49fc0a07def63752314198ec / PJ Fanning 
<[email protected]>
test: cover that harmless quarantine does not trigger 
DownSelfQuarantinedByRemote

Motivation:
akka/akka-core#32117 (backport of akka/akka#32050, issue akka/akka#31095)
fixed InboundQuarantineCheck replying with a Quarantined control message
for later inbound messages from a harmlessly quarantined (gracefully
shut down) node, which made the remote node down itself via
DownSelfQuarantinedByRemote. Pekko already stops propagating harmless
quarantines by default (#1555, propagate-harmless-quarantine-events =
off), but the multi-jvm coverage for this scenario was missing.

Modification:
- DowningWhenOtherHasQuarantinedThisActorSystemSpec: quarantine the
  second node directly instead of relying on split brain resolver
  timing, add a fourth node and a test that a node shutting down during
  a network partition does not trigger ThisActorSystemQuarantinedEvent
  on the surviving side.
- Association / InboundQuarantineCheck: log at info when a Quarantined
  control message is sent, and mention "Harmless quarantine" in the
  harmless quarantine log message, matching Akka.
- TestContext: pass harmless = false explicitly.

Result:
Multi-jvm coverage of the DownSelfQuarantinedByRemote scenarios,
including harmless quarantine during a network partition. No
behavioural change beyond log messages.

Tests:
- sbt "project cluster" "MultiJvm/testOnly 
org.apache.pekko.cluster.DowningWhenOtherHasQuarantinedThisActorSystem" (4 
nodes, 4 tests each, all passed)
- sbt "remote/testOnly org.apache.pekko.remote.artery.HarmlessQuarantineSpec 
org.apache.pekko.remote.artery.OutboundIdleShutdownSpec 
org.apache.pekko.remote.artery.RemoteMessageSerializationSpec" (14 passed)
- native scalafmt run on the changed files

References:
Refs #1555 - port of akka/akka-core#32117 (the InboundQuarantineCheck fix was 
already present)

Report URL: https://github.com/apache/pekko/actions/runs/35611784067

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to