Skip to content

Commit

Permalink
skip dplyr tests on iris
Browse files Browse the repository at this point in the history
  • Loading branch information
ablack3 committed Feb 20, 2025
1 parent b43a815 commit 33d6592
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/testthat/test-dbplyr.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ library(DatabaseConnector)
source("dbplyrTestFunction.R")

for (testServer in testServers) {
test_that(addDbmsToLabel("Test dbplyr", testServer), {
options(sqlRenderTempEmulationSchema = testServer$tempEmulationSchema)
testDbplyrFunctions(connectionDetails = testServer$connectionDetails,
cdmDatabaseSchema = testServer$cdmDatabaseSchema)
})
if (testServer != "iris") { # some dbplyr translations fail for iris
test_that(addDbmsToLabel("Test dbplyr", testServer), {
options(sqlRenderTempEmulationSchema = testServer$tempEmulationSchema)
testDbplyrFunctions(connectionDetails = testServer$connectionDetails,
cdmDatabaseSchema = testServer$cdmDatabaseSchema)
})
}
}

# test_that("Test dbplyr date functions on non-dbplyr data", {
Expand Down

0 comments on commit 33d6592

Please sign in to comment.