@@ -29,8 +29,7 @@ all() ->
29
29
groups () ->
30
30
[
31
31
{running_node , [], [
32
- successful_shutdown ,
33
- error_during_shutdown
32
+ successful_shutdown
34
33
]},
35
34
{non_running_node , [], [
36
35
nothing_to_shutdown
@@ -91,16 +90,6 @@ successful_shutdown(Config) ->
91
90
false = erlang_pid_is_running (Pid ),
92
91
false = node_is_running (Node ).
93
92
94
- error_during_shutdown (Config ) ->
95
- Node = ? config (node , Config ),
96
- ok = rabbit_ct_broker_helpers :control_action (stop_app , Node , []),
97
- ok = rpc :call (Node , application , unload , [os_mon ]),
98
-
99
- {badrpc ,
100
- {'EXIT' , {
101
- {error , {badmatch , {error ,{edge ,{bad_vertex ,os_mon },os_mon ,rabbit }}}},
102
- _ }}} = shutdown_error (Node ).
103
-
104
93
105
94
nothing_to_shutdown (Config ) ->
106
95
Node = ? config (node , Config ),
@@ -119,14 +108,6 @@ erlang_pid_is_running(Pid) ->
119
108
node_is_running (Node ) ->
120
109
net_adm :ping (Node ) == pong .
121
110
122
- shutdown_error (Node ) ->
123
- % % Start a command
124
- {stream , Stream } = rabbit_ct_broker_helpers :control_action (shutdown , Node , []),
125
- % % Execute command steps. The last one should be error
126
- Lines = 'Elixir.Enum' :to_list (Stream ),
127
- {error , Err } = lists :last (Lines ),
128
- Err .
129
-
130
111
shutdown_ok (Node ) ->
131
112
% % Start a command
132
113
{stream , Stream } = rabbit_ct_broker_helpers :control_action (shutdown , Node , []),
0 commit comments