Skip to content

Commit c3a512d

Browse files
Add debug statement
1 parent c9c9a52 commit c3a512d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/amqp10_client/test/system_SUITE.erl

+3-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,9 @@ roundtrip(OpenConf, Args, DoNotAssertMessageProperties) ->
428428

429429
% ct:pal(?LOW_IMPORTANCE, "roundtrip message Out: ~tp~nIn: ~tp~n", [OutMsg, Msg]),
430430
ActualProps = amqp10_msg:properties(OutMsg),
431-
[ ?assertEqual(V, maps:get(K, ActualProps)) || K := V <- Props, not lists:member(K, DoNotAssertMessageProperties)],
431+
ct:log("Message Property Assertion. Skip properties: ~p", [DoNotAssertMessageProperties]),
432+
[ ?assertEqual(V, maps:get(K, ActualProps)) || K := V <- Props,
433+
not lists:member(K, DoNotAssertMessageProperties)],
432434

433435
?assertEqual(#{<<"a_key">> => <<"a_value">>}, amqp10_msg:application_properties(OutMsg)),
434436
ActualMessageAnnotations = amqp10_msg:message_annotations(OutMsg),

0 commit comments

Comments
 (0)