Skip to content

Commit e480793

Browse files
amqp_client_SUITE: drop a non-essential flakey test
interference from other tests sometimes makes it fail because there is more than one connection. Compared to most other AMQP 1.0 tests, this one can be dropped.
1 parent fcb90e4 commit e480793

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

deps/rabbit/test/amqp_client_SUITE.erl

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ groups() ->
110110
idle_time_out_on_server,
111111
idle_time_out_on_client,
112112
idle_time_out_too_short,
113-
rabbit_status_connection_count,
114113
handshake_timeout,
115114
credential_expires,
116115
attach_to_exclusive_queue,
@@ -4402,21 +4401,6 @@ idle_time_out_too_short(Config) ->
44024401
after 5000 -> ct:fail({missing_event, ?LINE})
44034402
end.
44044403

4405-
rabbit_status_connection_count(Config) ->
4406-
%% Close any open AMQP 0.9.1 connections from previous test cases.
4407-
ok = rabbit_ct_client_helpers:close_channels_and_connection(Config, 0),
4408-
4409-
OpnConf = connection_config(Config),
4410-
{ok, Connection} = amqp10_client:open_connection(OpnConf),
4411-
receive {amqp10_event, {connection, Connection, opened}} -> ok
4412-
after 5000 -> ct:fail({missing_event, ?LINE})
4413-
end,
4414-
4415-
{ok, String} = rabbit_ct_broker_helpers:rabbitmqctl(Config, 0, ["status"]),
4416-
?assertNotEqual(nomatch, string:find(String, "Connection count: 1")),
4417-
4418-
ok = amqp10_client:close_connection(Connection).
4419-
44204404
handshake_timeout(Config) ->
44214405
App = rabbit,
44224406
Par = ?FUNCTION_NAME,

0 commit comments

Comments
 (0)