Skip to content

Commit

Permalink
Use init:stop() to stop peers in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed May 10, 2024
1 parent a211b72 commit c40bf75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cets_test_peer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ start(Names, Config) ->
{Nodes, Peers} = lists:unzip([start_node(N) || N <- Names]),
[
{nodes, maps:from_list(lists:zip(Names, Nodes))},
{peers, maps:from_list(lists:zip(Names, Peers))}
{peers, maps:from_list(lists:zip(Names, Peers))},
{shutdown, 3000}
| Config
].

Expand Down

0 comments on commit c40bf75

Please sign in to comment.