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 51b52cc891 Fix nightly JDK 21 and 25 failures (#2922)
51b52cc891 is described below

commit 51b52cc89114cabbf9887e137b5b159487124071
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Mon Apr 27 16:18:18 2026 +0800

    Fix nightly JDK 21 and 25 failures (#2922)
---
 .../org/apache/pekko/cluster/StartupWithOneThreadSpec.scala      | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/cluster/src/test/scala/org/apache/pekko/cluster/StartupWithOneThreadSpec.scala
 
b/cluster/src/test/scala/org/apache/pekko/cluster/StartupWithOneThreadSpec.scala
index 752ae0aad4..06fad73a5a 100644
--- 
a/cluster/src/test/scala/org/apache/pekko/cluster/StartupWithOneThreadSpec.scala
+++ 
b/cluster/src/test/scala/org/apache/pekko/cluster/StartupWithOneThreadSpec.scala
@@ -31,12 +31,19 @@ object StartupWithOneThreadSpec {
     pekko.remote.artery.canonical.port = 0
 
     pekko.actor.default-dispatcher {
+      type = Dispatcher
+      executor = thread-pool-executor
+      thread-pool-executor {
+        fixed-pool-size = 1
+      }
+    }
+    pekko.actor.internal-dispatcher {
+      type = Dispatcher
       executor = thread-pool-executor
       thread-pool-executor {
         fixed-pool-size = 1
       }
     }
-    pekko.actor.internal-dispatcher = pekko.actor.default-dispatcher 
     """
 
   final case class GossipTo(address: Address)


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

Reply via email to