Skip to content

Commit

Permalink
Test multiple capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed May 29, 2024
1 parent a7f974b commit 9b524cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deps/amqp10_client/test/system_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,11 @@ set_sender_sync_capabilities(Config) ->

},
target = #'v1_0.target'{
capabilities = {utf8, <<"capability-1">>}}}, <<>>}) ->
capabilities = {list, [
{utf8,<<"capability-1">>},
{utf8,<<"capability-2">>}
]}
}}, <<>>}) ->
{Ch, [#'v1_0.attach'{name = Name,
handle = {uint, 99},
role = true}]}
Expand All @@ -952,7 +956,7 @@ set_sender_sync_capabilities(Config) ->
<<"test">>,
mixed,
none,
<<"capability-1">>),
[<<"capability-1">>,<<"capability-2">>]),
Msg = amqp10_msg:new(<<"mock-tag">>, <<"banana">>, true),
{error, insufficient_credit} = amqp10_client:send_msg(Sender, Msg),

Expand Down

0 comments on commit 9b524cd

Please sign in to comment.