summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2019-10-17 01:01:58 +0300
committerMichael Klishin <mklishin@pivotal.io>2019-10-17 01:31:37 +0300
commit8a5ceea67f73af319516a7890828fa2c813d3163 (patch)
treed84f4b135426548d53d22f688c8f0a9d14a0e3d6 /test
parent2b47fa8f107ed8a97f1e86508551414c22048545 (diff)
downloadrabbitmq-server-git-8a5ceea67f73af319516a7890828fa2c813d3163.tar.gz
rabbit_fifo_int_SUITE: stub out FHC reservation calls
Diffstat (limited to 'test')
-rw-r--r--test/rabbit_fifo_int_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rabbit_fifo_int_SUITE.erl b/test/rabbit_fifo_int_SUITE.erl
index d4ae417a78..e611b5e3a2 100644
--- a/test/rabbit_fifo_int_SUITE.erl
+++ b/test/rabbit_fifo_int_SUITE.erl
@@ -55,6 +55,8 @@ end_per_group(_, Config) ->
init_per_testcase(TestCase, Config) ->
meck:new(rabbit_quorum_queue, [passthrough]),
meck:expect(rabbit_quorum_queue, handle_tick, fun (_, _, _) -> ok end),
+ meck:expect(rabbit_quorum_queue, file_handle_leader_reservation, fun (_) -> ok end),
+ meck:expect(rabbit_quorum_queue, file_handle_other_reservation, fun () -> ok end),
meck:expect(rabbit_quorum_queue, cancel_consumer_handler,
fun (_, _) -> ok end),
ra_server_sup_sup:remove_all(),