From ee601545b8a77fecb24b45da75bb8c0adcc34331 Mon Sep 17 00:00:00 2001 From: Denys Gonchar Date: Wed, 19 Jul 2023 17:22:44 +0200 Subject: [PATCH] increasing timeout for wait_until call in mod_global_distrib_SUITE:test_host_refreshing/1 --- big_tests/tests/mod_global_distrib_SUITE.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/big_tests/tests/mod_global_distrib_SUITE.erl b/big_tests/tests/mod_global_distrib_SUITE.erl index 8423bf93372..4682446fcdc 100644 --- a/big_tests/tests/mod_global_distrib_SUITE.erl +++ b/big_tests/tests/mod_global_distrib_SUITE.erl @@ -382,7 +382,8 @@ test_advertised_endpoints_override_endpoints(_Config) -> %% from backend and starts appropriate pool. test_host_refreshing(_Config) -> mongoose_helper:wait_until(fun() -> trees_for_connections_present() end, true, - #{name => trees_for_connections_present}), + #{name => trees_for_connections_present, + time_left => timer:seconds(10)}), ConnectionSups = out_connection_sups(asia_node), {europe_node1, EuropeHost, _} = lists:keyfind(europe_node1, 1, get_hosts()), EuropeSup = rpc(asia_node, mod_global_distrib_utils, server_to_sup_name, [EuropeHost]),