diff options
author | dcorbacho <dparracorbacho@piotal.io> | 2020-09-14 15:48:32 +0100 |
---|---|---|
committer | dcorbacho <dparracorbacho@piotal.io> | 2020-09-14 15:48:32 +0100 |
commit | ddc2eacbe2690ec61dda3a8648f7acf5cec39a03 (patch) | |
tree | 85acfde7555f3efa1a14b3e7da33de14cef6b8b9 | |
parent | bfad2d5281cef1f6de72f525e5f1ba0b25e1c7ea (diff) | |
download | rabbitmq-server-git-qq-reject-publish.tar.gz |
Add system time to unit testqq-reject-publish
-rw-r--r-- | test/rabbit_fifo_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rabbit_fifo_SUITE.erl b/test/rabbit_fifo_SUITE.erl index bbd8bd7df8..7778e04afb 100644 --- a/test/rabbit_fifo_SUITE.erl +++ b/test/rabbit_fifo_SUITE.erl @@ -1135,7 +1135,8 @@ active_flag_updated_when_consumer_suspected_unsuspected_test(_) -> State1 = lists:foldl(AddConsumer, State0, [{<<"ctag1">>, Pid1}, {<<"ctag2">>, Pid2}, {<<"ctag3">>, Pid2}, {<<"ctag4">>, Pid3}]), - {State2, _, Effects2} = apply(#{index => 3}, {down, Pid1, noconnection}, State1), + {State2, _, Effects2} = apply(#{index => 3, + system_time => 1500}, {down, Pid1, noconnection}, State1), % 1 effect to update the metrics of each consumer (they belong to the same node), 1 more effect to monitor the node ?assertEqual(4 + 1, length(Effects2)), |