Skip to content

Commit

Permalink
feat(helper-setup): Remove unnecessary duckdb_shutdown calls
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusSkytte committed Oct 4, 2024
1 parent 34fa5c1 commit cfd792e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions testthat/helper-setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ get_test_conns <- function() {
purrr::walk2(test_conns, names(test_conns),
\(conn, conn_name) purrr::walk(purrr::pluck(conn_post_connect, conn_name), ~ DBI::dbExecute(conn, .)))

# Shutdown drivers that needs it
drivers |>
purrr::keep(~ inherits(., "duckdb_driver")) |>
purrr::walk(~ duckdb::duckdb_shutdown(.))

# Inform the user about the tested back ends:
msg <- paste(sep = "\n",
"#####",
Expand Down

0 comments on commit cfd792e

Please sign in to comment.