Skip to content

Commit c839409

Browse files
committed
Fix test flake properties_section
This test flaked in CI with the following error: ``` === === Reason: no match of right hand side value {error,half_attached} in function amqp_utils:detach_link_sync/1 (amqp_utils.erl, line 100) in call from amqp_filtex_SUITE:properties_section/1 (amqp_filtex_SUITE.erl, line 187) in call from test_server:ts_tc/3 (test_server.erl, line 1793) in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302) in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234) ```
1 parent fa61266 commit c839409

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/rabbit/test/amqp_filtex_SUITE.erl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ properties_section(Config) ->
182182
{ok, Receiver3} = amqp10_client:attach_receiver_link(
183183
Session, <<"receiver 3">>, Address,
184184
unsettled, configuration, Filter3),
185+
receive {amqp10_event, {link, Receiver3, {attached, #'v1_0.attach'{}}}} -> ok
186+
after 5000 -> ct:fail({missing_event, ?LINE})
187+
end,
185188
ok = amqp10_client:flow_link_credit(Receiver3, 10, never),
186189
ok = assert_no_msg_received(?LINE),
187190
ok = detach_link_sync(Receiver3),

0 commit comments

Comments
 (0)