diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-05-01 13:45:13 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-05-01 13:45:13 +0100 |
commit | 98804512fe05f895f5ac28651306d7fc97ae6100 (patch) | |
tree | d606e144d03404d09b6307e827127bdc75215fc7 | |
parent | e1bb92fbcb6a80ee62b7833e4a6f9ebcb14a17d1 (diff) | |
download | rabbitmq-server-98804512fe05f895f5ac28651306d7fc97ae6100.tar.gz |
Remove coverage workarounds.
-rw-r--r-- | src/rabbit_tests.erl | 10 |
1 files changed, 0 insertions, 10 deletions
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, |