This is an automated email from the ASF dual-hosted git repository. He-Pin pushed a commit to branch fix/actor-selection-consistency-timeout in repository https://gitbox.apache.org/repos/asf/pekko.git
commit 7043a5319b9048470d834b9e9586a431489e2a0a Author: θιΈ£ <[email protected]> AuthorDate: Fri Jun 19 17:36:12 2026 +0800 fix: widen ActorSelection SendConsistencySpec timeout to 60s Motivation: The "must be able to send messages with actorSelection concurrently preserving order" test flakes on CI: 4 sender actors each drive 1000 round trips via ActorSelection (4004 messages total), wrapped in ActorSelectionMessage with remote-side path traversal overhead. On CI with -Dpekko.test.timefactor=2, within(30.seconds) dilates to 60s which is insufficient under load β 3 of 4 senders complete but the 4th times out waiting for the final success2 message. Modification: Bump within(30.seconds) to within(60.seconds) at line 219 for the ActorSelection test only. The ActorRef variant (line 179) is unchanged as it passes within the original budget. Result: Up to 120s of dilated wall-clock headroom on CI for the ActorSelection variant; still fails fast on genuine deadlocks. Tests: - sbt "remote / Test / compile" β passes - CI Check / Test will exercise the artery variants References: Refs #3041 (previous timeout widening from 10s to 30s) --- .../org/apache/pekko/remote/artery/RemoteSendConsistencySpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/src/test/scala/org/apache/pekko/remote/artery/RemoteSendConsistencySpec.scala b/remote/src/test/scala/org/apache/pekko/remote/artery/RemoteSendConsistencySpec.scala index 91f7b71f16..6fc8681235 100644 --- a/remote/src/test/scala/org/apache/pekko/remote/artery/RemoteSendConsistencySpec.scala +++ b/remote/src/test/scala/org/apache/pekko/remote/artery/RemoteSendConsistencySpec.scala @@ -216,7 +216,7 @@ abstract class AbstractRemoteSendConsistencySpec(config: Config) system.actorOf(senderProps(selC)) system.actorOf(senderProps(selA)) - within(30.seconds) { + within(60.seconds) { expectMsg("success2") expectMsg("success2") expectMsg("success2") --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
