From 37d80c8f287cfd9077a6eeb4701aba2da06d9606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Thu, 19 Jan 2023 17:46:04 +0100 Subject: clustering_management_SUITE: Stop Mnesia after stopping `rabbit` This used to be taken care of by `rabbit:stop()`. This is not the case anymore, so we need to stop Mnesia explicitly to have the same state expected by the testsuite. --- deps/rabbit/test/clustering_management_SUITE.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deps/rabbit/test/clustering_management_SUITE.erl b/deps/rabbit/test/clustering_management_SUITE.erl index 1e9e749927..3dc39a069c 100644 --- a/deps/rabbit/test/clustering_management_SUITE.erl +++ b/deps/rabbit/test/clustering_management_SUITE.erl @@ -810,7 +810,9 @@ assert_failure(Fun) -> end. stop_app(Node) -> - rabbit_control_helper:command(stop_app, Node). + ok = rabbit_control_helper:command(stop_app, Node), + stopped = erpc:call(Node, mnesia, stop, []), + ok. start_app(Node) -> rabbit_control_helper:command(start_app, Node). -- cgit v1.2.1