Skip to content

Commit 24ec7a4

Browse files
committed
fix: simplify LocalCluster startup to avoid timeout
Remove automatic application startup from LocalCluster.start_link as it was causing timeouts. Applications are already being started manually via RPC on each node after cluster creation. Also convert prefix string to atom as required by LocalCluster 2.x.
1 parent 7043727 commit 24ec7a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e_test/support/e2e_cluster_helper.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ defmodule Concord.E2E.ClusterHelper do
3333
IO.puts("Starting #{node_count}-node cluster with prefix '#{prefix}'...")
3434

3535
# Start cluster with LocalCluster 2.x API
36+
# Note: Don't start applications here - they'll be started manually on each node
3637
{:ok, cluster} =
3738
LocalCluster.start_link(node_count,
38-
prefix: prefix,
39-
applications: [:ra, :telemetry, :concord]
39+
prefix: String.to_atom(prefix)
4040
)
4141

4242
# Get the node names

0 commit comments

Comments
 (0)