diff options
author | Karl Nilsson <kjnilsson@gmail.com> | 2019-12-16 15:25:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 15:25:02 +0000 |
commit | cd4dcca2a9f6e2fbddb9be7e19e9f618f123be46 (patch) | |
tree | 70c848c2b57bd81b33d558a934fe2f2870974e9b /test | |
parent | 592644dd827ae20bffeef700e37e31c47018de4a (diff) | |
parent | d1d2567e13e881dded9b378836882f88ea88aba5 (diff) | |
download | rabbitmq-server-git-cd4dcca2a9f6e2fbddb9be7e19e9f618f123be46.tar.gz |
Merge pull request #2185 from rabbitmq/qq-aux-eval-changes
Update rabbit_fifo with Ra aux changes
Diffstat (limited to 'test')
-rw-r--r-- | test/rabbit_fifo_SUITE.erl | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/test/rabbit_fifo_SUITE.erl b/test/rabbit_fifo_SUITE.erl index 2de6a86e84..a756f4f838 100644 --- a/test/rabbit_fifo_SUITE.erl +++ b/test/rabbit_fifo_SUITE.erl @@ -483,8 +483,7 @@ tick_test(_) -> [#resource{}, {?FUNCTION_NAME, 1, 1, 2, 1, 3, 3}, [_Node] - ]}, - {aux, emit}] = rabbit_fifo:tick(1, S4), + ]}] = rabbit_fifo:tick(1, S4), ok. @@ -1266,8 +1265,7 @@ purge_nodes_test(_) -> [{mod_call, rabbit_quorum_queue, handle_tick, [#resource{}, _Metrics, [ThisNode, Node] - ]}, - {aux, emit}] , rabbit_fifo:tick(1, State4)), + ]}] , rabbit_fifo:tick(1, State4)), %% assert there are both enqueuers and consumers {State, _, _} = apply(meta(5), rabbit_fifo:make_purge_nodes([Node]), @@ -1283,8 +1281,7 @@ purge_nodes_test(_) -> [{mod_call, rabbit_quorum_queue, handle_tick, [#resource{}, _Metrics, [ThisNode] - ]}, - {aux, emit}] , rabbit_fifo:tick(1, State)), + ]}] , rabbit_fifo:tick(1, State)), ok. meta(Idx) -> @@ -1360,7 +1357,7 @@ aux_test(_) -> Log = undefined, {no_reply, Aux, undefined} = handle_aux(leader, cast, active, Aux0, Log, MacState), - {no_reply, _Aux, undefined} = handle_aux(leader, cast, emit, Aux, + {no_reply, _Aux, undefined} = handle_aux(leader, cast, tick, Aux, Log, MacState), [X] = ets:lookup(rabbit_fifo_usage, aux_test), ?assert(X > 0.0), |