From 5fd12f3aa23a5aaa20cbd989120443eaf694cd9e Mon Sep 17 00:00:00 2001 From: elbrujohalcon Date: Sun, 15 Jun 2025 17:22:35 +0200 Subject: [PATCH 1/2] update-deps Update dependencies and plugins --- .tool-versions | 2 +- rebar.config | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.tool-versions b/.tool-versions index 1ae24a9..d890b70 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ erlang 27.0.1 -rebar 3.23.0 +rebar 3.25.0 diff --git a/rebar.config b/rebar.config index 62dc8a9..4ebf319 100644 --- a/rebar.config +++ b/rebar.config @@ -13,7 +13,7 @@ {cover_export_enabled, true}, {cover_opts, [verbose, {min_coverage, 92}]}, {ct_opts, [{verbose, true}]}, - {deps, [{katana, "1.0.0"}, {mixer, "1.2.0", {pkg, inaka_mixer}}, {meck, "0.9.2"}]}, + {deps, [{katana, "1.0.0"}, {mixer, "1.2.0", {pkg, inaka_mixer}}, {meck, "1.0.0"}]}, {dialyzer, [{warnings, [no_return, unmatched_returns, error_handling, underspecs, unknown]}, {plt_extra_apps, [common_test, katana, meck]}]}]}]}. @@ -37,12 +37,12 @@ {project_plugins, [{rebar3_hank, "~> 1.4.1"}, - {rebar3_hex, "~> 7.0.8"}, + {rebar3_hex, "~> 7.0.11"}, {rebar3_format, "~> 1.3.0"}, - {rebar3_lint, "~> 3.2.6"}, - {rebar3_ex_doc, "~> 0.2.23"}, + {rebar3_lint, "~> 4.1.0"}, + {rebar3_ex_doc, "~> 0.2.30"}, {rebar3_depup, "~> 0.4.0"}, - {covertool, "~> 2.0.6"}]}. + {covertool, "~> 2.0.7"}]}. %% == Documentation == From d92db0e073070f55baba14a096ad157616cd4acd Mon Sep 17 00:00:00 2001 From: elbrujohalcon Date: Sun, 15 Jun 2025 17:29:58 +0200 Subject: [PATCH 2/2] update-deps Fix problems detected by the newest Elvis --- test/wpool_pool_SUITE.erl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/wpool_pool_SUITE.erl b/test/wpool_pool_SUITE.erl index 523d3c8..48e701b 100644 --- a/test/wpool_pool_SUITE.erl +++ b/test/wpool_pool_SUITE.erl @@ -324,9 +324,11 @@ random_worker(_Config) -> [receive true -> true + after 5000 -> + ct:fail("Didn't receive 'true' in time") end || _ <- lists:seq(1, 20 * ?WORKERS)], - true = lists:all(fun(Value) -> true =:= Value end, Results), + true = lists:all(fun(Value) -> Value end, Results), %% do a gen_server:send_request/3 Req = wpool:send_request(Pool, {erlang, self, []}, random_worker), @@ -642,6 +644,8 @@ collect_tasks(TasksNumber) -> receive {task, N} -> N + after 5000 -> + ct:fail("Didn't receive {'task', N} in time") end end, lists:seq(1, TasksNumber)).