summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-05-01 14:27:04 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-05-01 14:27:04 +0100
commitecd55cfbff670ff8413d7d47330a1a2d469e4b27 (patch)
treecb187cc5594186d40888d47c9e760fe8bdd77a03
parent6b84ae87a947820e7d49fe964ee9a3a440a742a3 (diff)
parent10c2f19d0576407b0148d3218d2d2fd66ca6c64e (diff)
downloadrabbitmq-server-ecd55cfbff670ff8413d7d47330a1a2d469e4b27.tar.gz
stable to default
-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 3823a494..127fa2fe 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 9e5cf2c0..ab95196d 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,