summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkjnilsson <knilsson@pivotal.io>2018-09-28 09:15:38 +0100
committerkjnilsson <knilsson@pivotal.io>2018-09-28 09:16:33 +0100
commitc1fb658ce13ae7f14919bd784eddd3dc77ab5144 (patch)
tree036cda61bfad67ae7292f8cc040050135f03da0d
parent834562336754867076be91e72a77e6fd849340dc (diff)
downloadrabbitmq-server-git-c1fb658ce13ae7f14919bd784eddd3dc77ab5144.tar.gz
Update test expections
To match the metrics format that includes the new basic_get empty metric.
-rw-r--r--test/unit_inbroker_non_parallel_SUITE.erl24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/unit_inbroker_non_parallel_SUITE.erl b/test/unit_inbroker_non_parallel_SUITE.erl
index 9c7d798ecc..56d692847f 100644
--- a/test/unit_inbroker_non_parallel_SUITE.erl
+++ b/test/unit_inbroker_non_parallel_SUITE.erl
@@ -491,24 +491,24 @@ channel_statistics1(_Config) ->
%% Check the stats reflect that
Check2 = fun() ->
- [{{Ch, QRes}, 1, 0, 0, 0, 0, 0, 0}] = ets:lookup(
- channel_queue_metrics,
- {Ch, QRes}),
- [{{Ch, X}, 1, 0, 0, 0}] = ets:lookup(
- channel_exchange_metrics,
- {Ch, X}),
- [{{Ch, {QRes, X}}, 1, 0}] = ets:lookup(
- channel_queue_exchange_metrics,
- {Ch, {QRes, X}})
+ [{{Ch, QRes}, 1, 0, 0, 0, 0, 0, 0, 0}] = ets:lookup(
+ channel_queue_metrics,
+ {Ch, QRes}),
+ [{{Ch, X}, 1, 0, 0, 0}] = ets:lookup(
+ channel_exchange_metrics,
+ {Ch, X}),
+ [{{Ch, {QRes, X}}, 1, 0}] = ets:lookup(
+ channel_queue_exchange_metrics,
+ {Ch, {QRes, X}})
end,
test_ch_metrics(Check2, ?TIMEOUT),
%% Check the stats are marked for removal on queue deletion.
rabbit_channel:do(Ch, #'queue.delete'{queue = QName}),
Check3 = fun() ->
- [{{Ch, QRes}, 1, 0, 0, 0, 0, 0, 1}] = ets:lookup(
- channel_queue_metrics,
- {Ch, QRes}),
+ [{{Ch, QRes}, 1, 0, 0, 0, 0, 0, 0, 1}] = ets:lookup(
+ channel_queue_metrics,
+ {Ch, QRes}),
[{{Ch, X}, 1, 0, 0, 0}] = ets:lookup(
channel_exchange_metrics,
{Ch, X}),