summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-06 11:53:16 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-06 11:53:16 +0100
commit53dc2260955ed9add0850ee4a85d73d4454e39fa (patch)
tree1a805bc725aae32699b0486320bd1eebdd13cb89
parent2bfa4b559b09b699b70d4dadfb1acecb8e117cd4 (diff)
downloadrabbitmq-server-bug24385.tar.gz
update commentbug24385
-rw-r--r--src/rabbit_tests.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 65491af4..7e84251f 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -757,8 +757,10 @@ test_topic_expect_match(X, List) ->
end, List).
test_app_management() ->
- control_action(wait, [mnesia:system_info(directory) ++ ".pid"]),
- %% starting, stopping, status
+ control_action(wait, [rabbit_mnesia:dir() ++ ".pid"]),
+ %% Starting, stopping and diagnostics. Note that we don't try
+ %% 'report' when the rabbit app is stopped and that we enable
+ %% tracing for the duration of this function.
ok = control_action(trace_on, []),
ok = control_action(stop_app, []),
ok = control_action(stop_app, []),