Skip to content

Commit

Permalink
Add 10 seconds timetrap
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed May 10, 2024
1 parent e3ad79c commit a211b72
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{timetrap, 1}].
3 changes: 3 additions & 0 deletions test/cets_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
set_join_ref/2
]).

suite() ->
cets_test_setup:suite().

all() ->
[
{group, cets},
Expand Down
3 changes: 3 additions & 0 deletions test/cets_disco_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@
other_nodes/2
]).

suite() ->
cets_test_setup:suite().

all() ->
[
{group, cets},
Expand Down
3 changes: 3 additions & 0 deletions test/cets_join_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
other_nodes/2
]).

suite() ->
cets_test_setup:suite().

all() ->
[
{group, cets},
Expand Down
3 changes: 3 additions & 0 deletions test/cets_status_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
other_nodes/2
]).

suite() ->
cets_test_setup:suite().

all() ->
[
{group, cets}
Expand Down
5 changes: 5 additions & 0 deletions test/cets_test_setup.erl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
-module(cets_test_setup).
-export([suite/0]).

-export([
mock_epmd/0,
mock_pause_on_remote_node_failing/0
Expand Down Expand Up @@ -51,6 +53,9 @@

-import(cets_test_rpc, [rpc/4]).

suite() ->
[{timetrap, {seconds, 10}}].

mock_epmd() ->
meck:new(erl_epmd, [passthrough, unstick]),
meck:expect(erl_epmd, address_please, fun
Expand Down

0 comments on commit a211b72

Please sign in to comment.