Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
arcusfelis committed May 16, 2024
1 parent 5f6d948 commit 0209ac8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 75 deletions.
31 changes: 3 additions & 28 deletions test/cets_join_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -9,48 +9,27 @@
start/2,
start_local/1,
start_local/2,
start_disco/2,
start_simple_disco/0,
make_name/1,
make_name/2,
lock_name/1,
disco_name/1
]).

-import(cets_test_wait, [
wait_for_down/1,
wait_for_ready/2,
wait_till_test_stage/2
lock_name/1
]).

-import(cets_test_setup, [
setup_two_nodes_and_discovery/1,
setup_two_nodes_and_discovery/2,
simulate_disco_restart/1,
make_signalling_process/0,
given_two_joined_tables/1,
given_two_joined_tables/2,
given_3_servers/1,
given_3_servers/2,
given_n_servers/3
]).

-import(cets_test_wait, [
wait_for_disco_timestamp_to_appear/3,
wait_for_disco_timestamp_to_be_updated/4
]).

-import(cets_test_receive, [
receive_message/1,
receive_message_with_arg/1,
flush_message/1
receive_message_with_arg/1
]).

-import(cets_test_peer, [
block_node/2,
reconnect_node/2,
disconnect_node/2,
disconnect_node_by_name/2
reconnect_node/2
]).

-import(cets_test_rpc, [
Expand All @@ -63,10 +42,6 @@
assert_unique/1
]).

-import(cets_test_rpc, [
other_nodes/2
]).

suite() ->
cets_test_setup:suite().

Expand Down
31 changes: 2 additions & 29 deletions test/cets_netsplit_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,18 @@

-import(cets_test_setup, [
start/2,
start_local/1,
start_local/2,
start_disco/2,
start_simple_disco/0,
make_name/1,
make_name/2,
lock_name/1,
disco_name/1
]).

-import(cets_test_wait, [
wait_for_down/1,
wait_for_ready/2,
wait_till_test_stage/2
lock_name/1
]).

-import(cets_test_setup, [
setup_two_nodes_and_discovery/1,
setup_two_nodes_and_discovery/2,
simulate_disco_restart/1,
make_signalling_process/0,
given_two_joined_tables/1
]).

-import(cets_test_wait, [
wait_for_disco_timestamp_to_appear/3,
wait_for_disco_timestamp_to_be_updated/4
]).

-import(cets_test_receive, [
receive_message/1,
flush_message/1
]).

-import(cets_test_peer, [
block_node/2,
reconnect_node/2,
disconnect_node/2,
disconnect_node_by_name/2
reconnect_node/2
]).

-import(cets_test_rpc, [
Expand Down
19 changes: 1 addition & 18 deletions test/cets_status_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

-import(cets_test_setup, [
start/2,
start_local/1,
start_local/2,
start_disco/2,
make_name/1,
make_name/2,
Expand All @@ -26,30 +24,15 @@
simulate_disco_restart/1
]).

-import(cets_test_wait, [
wait_for_disco_timestamp_to_appear/3,
wait_for_disco_timestamp_to_be_updated/4
]).

-import(cets_test_receive, [
receive_message/1,
flush_message/1
]).

-import(cets_test_peer, [
disconnect_node/2,
disconnect_node_by_name/2
receive_message/1
]).

-import(cets_test_helper, [
assert_unique/1,
set_other_servers/2
]).

-import(cets_test_rpc, [
other_nodes/2
]).

suite() ->
cets_test_setup:suite().

Expand Down

0 comments on commit 0209ac8

Please sign in to comment.