Skip to content

Commit 80e5293

Browse files
HoloRinmergify-bot
authored andcommitted
Adjust test to avoid race condition and flake
(cherry picked from commit 1232ef2) (cherry picked from commit ea9cc30) (cherry picked from commit ec49d9b)
1 parent 01eb5d3 commit 80e5293

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)