Enable quorum queue feature flag when runnin e2e metrics tests

Otherwise tests will fail in CI:
https://ci.rabbitmq.com/teams/main/pipelines/server-release:v3.8.x-mixed-versions/jobs/test-rabbitmq-prometheus/builds/20

Remove unused rabbit_ct_client_helpers imports
This commit is contained in:
Gerhard Lazu 2019-06-26 10:28:24 +01:00
parent 201365278d
commit 805dd5e3b2
1 changed files with 1 additions and 3 deletions

View File

@ -21,9 +21,6 @@
-include_lib("eunit/include/eunit.hrl").
-include_lib("rabbitmq_ct_helpers/include/rabbit_mgmt_test.hrl").
-import(rabbit_ct_client_helpers, [close_connection/1, close_channel/1,
open_unmanaged_connection/1]).
-compile(export_all).
all() ->
@ -73,6 +70,7 @@ init_per_group(with_metrics, Config0) ->
{prometheus, [{global_labels, [{node, node()}, {cluster, "rabbitmq_prometheus_test"}]}]}
),
Config3 = init_per_group(with_metrics, Config2, []),
ok = rabbit_ct_broker_helpers:enable_feature_flag(Config3, quorum_queue),
A = rabbit_ct_broker_helpers:get_node_config(Config3, 0, nodename),
Ch = rabbit_ct_client_helpers:open_channel(Config3, A),