Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit aa0ecd1

Browse files
Default exchange bindings are implicit as of rabbitmq/rabbitmq-server#1721
1 parent 588650d commit aa0ecd1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

test/system_SUITE.erl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ all() ->
3131
audit_queue,
3232
audit_exchange,
3333
audit_binding,
34-
audit_default_exchange_binding,
3534
audit_vhost,
3635
audit_vhost_deletion,
3736
audit_channel,
@@ -170,8 +169,6 @@ audit_binding(Config) ->
170169

171170
#'queue.declare_ok'{queue = Q} =
172171
amqp_channel:call(Ch, #'queue.declare'{exclusive = true}),
173-
%% Default exchange
174-
receive_user_in_event(<<"binding.created">>, ?INTERNAL_USER),
175172

176173
#'queue.bind_ok'{} =
177174
amqp_channel:call(Ch, #'queue.bind'{queue = Q,
@@ -188,23 +185,6 @@ audit_binding(Config) ->
188185
rabbit_ct_client_helpers:close_channel(Ch),
189186
ok.
190187

191-
audit_default_exchange_binding(Config) ->
192-
Ch = declare_event_queue(Config, <<"binding.*">>),
193-
%% The binding to the event exchange itself is the first queued event
194-
User = proplists:get_value(rmq_username, Config),
195-
receive_user_in_event(<<"binding.created">>, User),
196-
197-
#'queue.declare_ok'{queue = Q} =
198-
amqp_channel:call(Ch, #'queue.declare'{exclusive = true}),
199-
receive_user_in_event(<<"binding.created">>, ?INTERNAL_USER),
200-
201-
#'queue.delete_ok'{} =
202-
amqp_channel:call(Ch, #'queue.delete'{queue = Q}),
203-
receive_user_in_event(<<"binding.deleted">>, ?INTERNAL_USER),
204-
205-
rabbit_ct_client_helpers:close_channel(Ch),
206-
ok.
207-
208188
audit_vhost(Config) ->
209189
Ch = declare_event_queue(Config, <<"vhost.*">>),
210190
User = <<"Bugs Bunny">>,

0 commit comments

Comments
 (0)