From 45842ed463da09080baeda396d79e06545559a1f Mon Sep 17 00:00:00 2001 From: "Mathew W. McLean" Date: Tue, 8 Oct 2024 22:37:45 +1100 Subject: [PATCH] Add more retries for flakey test Signed-off-by: Mathew W. McLean --- tests/testthat/test-pubmed.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-pubmed.R b/tests/testthat/test-pubmed.R index 0e382a3..9574b63 100644 --- a/tests/testthat/test-pubmed.R +++ b/tests/testthat/test-pubmed.R @@ -61,6 +61,6 @@ test_that("GetPubMedByID: Multiple books parsed correctly #86", Sys.sleep(2) ids <- c("33780208", "33764725") names(ids) <- c("geary2021variation", "brennan2021potential") - try_again(3, bib <- GetPubMedByID(ids)) + try_again(5, bib <- GetPubMedByID(ids)) expect_equal(unlist(bib$eprint), ids) })