diff options
| author | Michael Klishin <michael@novemberain.com> | 2017-10-18 02:17:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-18 02:17:33 +0300 |
| commit | 8d8246b6ac249956125d082de057ae8f74725f0f (patch) | |
| tree | b7e506b95ca6a8dfcf1ce9c402c96eb299c8bc29 | |
| parent | 904744d2c3e039105e2c3aeba4c2bb3ceff27fb2 (diff) | |
| parent | ca3be6c1e267565780c12d6755a291c8e1594ece (diff) | |
| download | rabbitmq-server-git-8d8246b6ac249956125d082de057ae8f74725f0f.tar.gz | |
Merge pull request #1396 from rabbitmq/lrb-fix-shutdown-tests
Shutdown cannot fail
| -rw-r--r-- | test/rabbitmqctl_shutdown_SUITE.erl | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/test/rabbitmqctl_shutdown_SUITE.erl b/test/rabbitmqctl_shutdown_SUITE.erl index f8fd22f746..3a47841281 100644 --- a/test/rabbitmqctl_shutdown_SUITE.erl +++ b/test/rabbitmqctl_shutdown_SUITE.erl @@ -29,8 +29,7 @@ all() -> groups() -> [ {running_node, [], [ - successful_shutdown, - error_during_shutdown + successful_shutdown ]}, {non_running_node, [], [ nothing_to_shutdown @@ -91,18 +90,6 @@ successful_shutdown(Config) -> false = erlang_pid_is_running(Pid), false = node_is_running(Node). -error_during_shutdown(Config) -> - Node = ?config(node, Config), - ok = rabbit_control_main:action(stop_app, Node, [], [], fun ct:pal/2), - ok = rpc:call(Node, application, unload, [os_mon]), - - {badrpc, - {'EXIT', { - {error, {badmatch, {error,{edge,{bad_vertex,os_mon},os_mon,rabbit}}}}, - _}}} = - rabbit_control_main:action(shutdown, Node, [], [], fun ct:pal/2). - - nothing_to_shutdown(Config) -> Node = ?config(node, Config), |
