summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit_inbroker_non_parallel_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit_inbroker_non_parallel_SUITE.erl b/test/unit_inbroker_non_parallel_SUITE.erl
index 5504265da9..4038eb9a9c 100644
--- a/test/unit_inbroker_non_parallel_SUITE.erl
+++ b/test/unit_inbroker_non_parallel_SUITE.erl
@@ -604,7 +604,7 @@ head_message_timestamp1(_Config) ->
%% Set up event receiver for queue
dummy_event_receiver:start(self(), [node()], [queue_stats]),
- %% Check timestamp is empty when queue is empty
+ %% the head timestamp field is empty when queue is empty empty
test_queue_statistics_receive_event(QPid,
fun (E) ->
(proplists:get_value(name, E) == QRes)
@@ -617,7 +617,7 @@ head_message_timestamp1(_Config) ->
after ?TIMEOUT -> throw(failed_to_receive_tx_select_ok)
end,
- %% Publish two messages and check timestamp is that of first message
+ %% Publish two messages and check that the timestamp is that of first message
rabbit_channel:do(Ch, #'basic.publish'{exchange = <<"">>,
routing_key = QName},
rabbit_basic:build_content(#'P_basic'{timestamp = 1}, <<"">>)),
@@ -636,7 +636,7 @@ head_message_timestamp1(_Config) ->
(proplists:get_value(head_message_timestamp, E) == 1)
end),
- %% Get first message and check timestamp is that of second message
+ %% Consume a message and check that the timestamp is now that of the second message
rabbit_channel:do(Ch, #'basic.get'{queue = QName, no_ack = true}),
test_queue_statistics_receive_event(QPid,
fun (E) ->
@@ -645,7 +645,7 @@ head_message_timestamp1(_Config) ->
(proplists:get_value(head_message_timestamp, E) == 2)
end),
- %% Get second message and check timestamp is empty again
+ %% Consume one more message and check again
rabbit_channel:do(Ch, #'basic.get'{queue = QName, no_ack = true}),
test_queue_statistics_receive_event(QPid,
fun (E) ->