Skip to content

Commit

Permalink
increase timeout for ci (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
donyunardi authored Sep 27, 2024
1 parent 5f6bc65 commit 04135a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-module_teal.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ testthat::describe("srv_teal lockfile", {
),
expr = {
iter <- 1
while (!file.exists(renv_filename) && iter <= 100) {
Sys.sleep(0.25)
iter <- iter + 1 # max wait time is 25 seconds
while (!file.exists(renv_filename) && iter <= 1000) {
Sys.sleep(0.5)
iter <- iter + 1 # max wait time is 500 seconds
}
testthat::expect_true(file.exists(renv_filename))
}
Expand Down

0 comments on commit 04135a9

Please sign in to comment.