File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- defmodule Cluster .Strategy.Postgres do
1
+ defmodule LibclusterPostgres .Strategy do
2
2
@ moduledoc """
3
3
A libcluster strategy that uses Postgres LISTEN/NOTIFY to determine the cluster topology.
4
4
Original file line number Diff line number Diff line change 1
- defmodule Cluster.Strategy.PostgresTest do
1
+ defmodule LibclusterPostgres.StrategyTest do
2
2
use ExUnit.Case
3
3
4
4
alias Postgrex.Notifications
@@ -17,7 +17,7 @@ defmodule Cluster.Strategy.PostgresTest do
17
17
verify_conn_notification = start_supervised! ( { Notifications , @ config } )
18
18
Notifications . listen ( verify_conn_notification , @ config [ :channel_name ] )
19
19
20
- topologies = [ postgres: [ strategy: Cluster .Strategy.Postgres , config: @ config ] ]
20
+ topologies = [ postgres: [ strategy: LibclusterPostgres .Strategy, config: @ config ] ]
21
21
start_supervised! ( { Cluster.Supervisor , [ topologies ] } )
22
22
23
23
channel_name = @ config [ :channel_name ]
You can’t perform that action at this time.
0 commit comments