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 98d0060 commit bc071a1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/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 bc071a1

Please sign in to comment.