summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-05-01 13:45:13 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-05-01 13:45:13 +0100
commit3de4990d5c9fc960f87f20a58cf3578e06d40c84 (patch)
treed606e144d03404d09b6307e827127bdc75215fc7
parentf54b1dcd7761618b37a8980abfa38f028d5adc1a (diff)
downloadrabbitmq-server-git-3de4990d5c9fc960f87f20a58cf3578e06d40c84.tar.gz
Remove coverage workarounds.
-rw-r--r--src/rabbit_tests.erl10
1 files changed, 0 insertions, 10 deletions
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,