Skip to content

Commit

Permalink
Sys.sleep()'s again
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellmanware committed Feb 21, 2024
1 parent 00d3734 commit c072d79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion R/download_test_support.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ check_url_status <- function(
}

status <- hd$status_code
Sys.sleep(2)
Sys.sleep(1.5)
return(status == http_status_ok)
}

Expand Down
1 change: 0 additions & 1 deletion tests/testthat/test-download_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,6 @@ testthat::test_that("MODIS download error cases.", {
commands_path = commands_path,
url_status = url_status)
# remove file with commands after test
Sys.sleep(1)
file.remove(commands_path)
})

Expand Down

0 comments on commit c072d79

Please sign in to comment.