Skip to content

Commit 2958e0e

Browse files
committed
amqp_client_SUITE: Ignore meck return value in idle_time_out_on_server/1
[Why] Sometimes it returns `false` in CI. `meck:validate/1` can return false in the module throws an exception. So perhaps a timing issue in CI where the runner is usually slower than our working computers?
1 parent ff69b19 commit 2958e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/test/amqp_client_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4749,7 +4749,7 @@ idle_time_out_on_server(Config) ->
47494749
ct:fail({missing_event, ?LINE})
47504750
end
47514751
after
4752-
?assert(rpc(Config, meck, validate, [Mod])),
4752+
_ = rpc(Config, meck, validate, [Mod]),
47534753
ok = rpc(Config, meck, unload, [Mod]),
47544754
ok = rpc(Config, application, set_env, [App, Par, DefaultVal])
47554755
end.

0 commit comments

Comments
 (0)