summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--src/rabbit_tests.erl10
2 files changed, 0 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 3823a49485..127fa2fe5a 100644
--- a/Makefile
+++ b/Makefile
@@ -250,9 +250,6 @@ start-cover: all
echo "rabbit_misc:start_cover([\"rabbit\", \"hare\"])." | $(ERL_CALL)
echo "rabbit_misc:enable_cover([\"$(COVER_DIR)\"])." | $(ERL_CALL)
-start-secondary-cover: all
- echo "rabbit_misc:start_cover([\"hare\"])." | $(ERL_CALL)
-
stop-cover: all
echo "rabbit_misc:report_cover(), cover:stop()." | $(ERL_CALL)
cat cover/summary.txt
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 9e5cf2c030..ab95196d96 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -90,19 +90,9 @@ do_if_secondary_node(Up, Down) ->
setup_cluster() ->
do_if_secondary_node(
fun (SecondaryNode) ->
- cover:stop(SecondaryNode),
ok = control_action(stop_app, []),
- %% 'cover' does not cope at all well with nodes disconnecting,
- %% which happens as part of reset. So we turn it off
- %% temporarily. That is ok even if we're not in general using
- %% cover, it just turns the engine on / off and doesn't log
- %% anything. Note that this way cover won't be on when joining
- %% the cluster, but this is OK since we're testing the clustering
- %% interface elsewere anyway.
- cover:stop(nodes()),
ok = control_action(join_cluster,
[atom_to_list(SecondaryNode)]),
- cover:start(nodes()),
ok = control_action(start_app, []),
ok = control_action(start_app, SecondaryNode, [], [])
end,