Skip to content

Commit 4926e91

Browse files
Merge pull request #4178 from rabbitmq/mergify/bp/v3.8.x/pr-4177
Adjust test to avoid race condition and flake (backport #4172) (backport #4175) (backport #4177)
2 parents 7c7afe2 + 80e5293 commit 4926e91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/amqp_client/test/system_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,8 +1486,8 @@ command_invalid_over_channel(Config) ->
14861486
%% command_invalid - this only applies to the network case
14871487
command_invalid_over_channel0(Config) ->
14881488
{ok, Connection} = new_connection(Config),
1489-
gen_server:cast(Connection, {method, #'basic.ack'{}, none, noflow}),
14901489
MonitorRef = erlang:monitor(process, Connection),
1490+
gen_server:cast(Connection, {method, #'basic.ack'{}, none, noflow}),
14911491
assert_down_with_error(MonitorRef, command_invalid).
14921492

14931493
%% -------------------------------------------------------------------

0 commit comments

Comments
 (0)