Skip to content

Commit c82dbfd

Browse files
committed
Add missing MQTT test assertion
util:expect_publishes/3 returns 'ok' or {'publish_not_received', Payload}
1 parent 31ce964 commit c82dbfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbitmq_mqtt/test/shared_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ many_qos1_messages(Config) ->
997997
lists:foreach(fun(P) ->
998998
{ok, _} = emqtt:publish(C, Topic, P, qos1)
999999
end, Payloads),
1000-
expect_publishes(C, Topic, Payloads),
1000+
ok = expect_publishes(C, Topic, Payloads),
10011001
ok = emqtt:disconnect(C).
10021002

10031003
%% This test is mostly interesting in mixed version mode where feature flag

0 commit comments

Comments
 (0)