diff --git a/.github/workflows/build-test-prValidation.yml b/.github/workflows/build-test-prValidation.yml index 718c6cf2d0..757918207a 100644 --- a/.github/workflows/build-test-prValidation.yml +++ b/.github/workflows/build-test-prValidation.yml @@ -126,6 +126,7 @@ jobs: matrix: command: - cluster/test distributed-data/test cluster-tools/test cluster-metrics/test + - cluster-typed/test cluster-sharding-typed/test steps: - name: Checkout uses: actions/checkout@v7.0.1 diff --git a/cluster-typed/src/test/scala/docs/org/apache/pekko/cluster/typed/BasicClusterExampleSpec.scala b/cluster-typed/src/test/scala/docs/org/apache/pekko/cluster/typed/BasicClusterExampleSpec.scala index 1fa1c00338..6442cad68c 100644 --- a/cluster-typed/src/test/scala/docs/org/apache/pekko/cluster/typed/BasicClusterExampleSpec.scala +++ b/cluster-typed/src/test/scala/docs/org/apache/pekko/cluster/typed/BasicClusterExampleSpec.scala @@ -140,6 +140,9 @@ class BasicClusterConfigSpec extends AnyWordSpec with ScalaFutures with Eventual pekko.remote.classic.netty.tcp.port = $port pekko.remote.artery.canonical.port = $port pekko.cluster.jmx.multi-mbeans-in-same-jvm = on + # the default 5s lets the first seed form the cluster just after the other node's + # second InitJoin, so the join can take ~10s and race the eventually timeout + pekko.cluster.seed-node-timeout = 1s pekko.cluster.seed-nodes = [ "$protocol://ClusterSystem@127.0.0.1:$sys1Port", "$protocol://ClusterSystem@127.0.0.1:$sys2Port" ] """)