Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Jun 20, 2024
1 parent c3a512d commit e110ecb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deps/amqp10_client/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ rabbitmq_integration_suite(
"@activemq//:exec_dir",
],
test_env = {
"ACTIVEMQ": "$TEST_SRCDIR/$TEST_WORKSPACE/external/activemq/bin/activemq"
"ACTIVEMQ": "$TEST_SRCDIR/$TEST_WORKSPACE/external/activemq/bin/activemq"
},
deps = TEST_DEPS,
)
Expand Down
4 changes: 2 additions & 2 deletions deps/amqp10_client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ $(ACTIVEMQ): \
test/system_SUITE_data/apache-activemq-$(ACTIVEMQ_VERSION)-bin.tar.gz:
$(gen_verbose) $(call core_http_get,$@,$(ACTIVEMQ_URL))

tests:: $(ACTIVEMQ)
tests:: $(ACTIVEMQ)

ct ct-system: $(ACTIVEMQ)
ct ct-system: $(ACTIVEMQ)
2 changes: 1 addition & 1 deletion deps/amqp10_client/src/amqp10_client.erl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ attach_receiver_link(Session, Name, Source, SettleMode, Durability, Filter) ->
%% caller using an amqp10_event of the following format:
%% {amqp10_event, {link, LinkRef, attached | {detached, Why}}}
-spec attach_receiver_link(pid(), binary(), binary(), snd_settle_mode(),
terminus_durability(), filter(), properties()) ->
terminus_durability(), filter(), properties()) ->
{ok, link_ref()}.
attach_receiver_link(Session, Name, Source, SettleMode, Durability, Filter,
Properties)
Expand Down
2 changes: 1 addition & 1 deletion deps/amqp10_client/test/ibmmq_ct_helpers.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ teardown_steps() ->

init_config(Config) ->
NodeConfig = [{tcp_port_amqp, 5672}],
rabbit_ct_helpers:set_config(Config, [ {rmq_nodes, [NodeConfig]},
rabbit_ct_helpers:set_config(Config, [ {rmq_nodes, [NodeConfig]},
{rmq_hostname, "localhost"},
{tcp_hostname_amqp, "localhost"},
{sasl, {plain, <<"app">>, <<"passw0rd">>}} ]).
Expand Down
1 change: 0 additions & 1 deletion deps/amqp10_client/test/system_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ roundtrip(OpenConf, Args, DoNotAssertMessageProperties) ->

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

Expand Down

0 comments on commit e110ecb

Please sign in to comment.