Skip to content

Commit

Permalink
Add more retries for flakey test
Browse files Browse the repository at this point in the history
Signed-off-by: Mathew W. McLean <[email protected]>
  • Loading branch information
mwmclean committed Oct 8, 2024
1 parent 25d0bf8 commit 45842ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-pubmed.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

0 comments on commit 45842ed

Please sign in to comment.