From 45b528218896c68a50c169eaf92bd6ab4f6caaab Mon Sep 17 00:00:00 2001 From: Georgy Moiseev Date: Tue, 26 Mar 2024 18:17:43 +0300 Subject: [PATCH] test: increase bootstrap wait timeouts Sometimes it is possible to get a vshard router with broken connection to a storage. It seems that existing 5 seconds timeout does not allow to reconnect to a storage, so we try to increase it. Part of #415 --- test/helper.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/helper.lua b/test/helper.lua index 1cbc6716..d8465238 100644 --- a/test/helper.lua +++ b/test/helper.lua @@ -144,7 +144,7 @@ function helpers.box_cfg(opts) if opts.wait_rw then t.helpers.retrying( - {timeout = 3, delay = 0.1}, + {timeout = 60, delay = 0.1}, t.assert_equals, box.info.ro, false ) end @@ -1021,7 +1021,7 @@ function helpers.wait_crud_is_ready_on_cluster(g, opts) opts.storage_roles ) - local WAIT_TIMEOUT = 5 + local WAIT_TIMEOUT = 60 local DELAY = 0.1 t.helpers.retrying( {timeout = WAIT_TIMEOUT, delay = DELAY}, @@ -1368,7 +1368,7 @@ function helpers.is_func_flag(flag) end function helpers.wait_func_flag(flag) - local TIMEOUT = 5 + local TIMEOUT = 60 local start = clock.monotonic() while clock.monotonic() - start < TIMEOUT do