diff --git a/tests/testthat/test-module_teal.R b/tests/testthat/test-module_teal.R index e863a1325f..45bbd436d5 100644 --- a/tests/testthat/test-module_teal.R +++ b/tests/testthat/test-module_teal.R @@ -83,8 +83,8 @@ testthat::describe("srv_teal lockfile", { ), expr = { iter <- 1 - while (!file.exists(renv_filename) && iter <= 1000) { - Sys.sleep(0.5) + while (!file.exists(renv_filename) && iter <= 2000) { + Sys.sleep(1) iter <- iter + 1 # max wait time is 500 seconds } testthat::expect_true(file.exists(renv_filename))