Skip to content

Commit

Permalink
tests: remove bbotk local run
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jun 12, 2024
1 parent 31baed8 commit 415b169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test_TuningInstanceAsyncSingleCrit.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_that("initializing TuningInstanceAsyncSingleCrit works", {
# skip_on_cran()
skip_on_cran()
skip_if_not_installed("rush")
flush_redis()

Expand All @@ -24,7 +24,7 @@ test_that("initializing TuningInstanceAsyncSingleCrit works", {
})

test_that("rush controller can be passed to TuningInstanceAsyncSingleCrit", {
# skip_on_cran()
skip_on_cran()
skip_if_not_installed("rush")
flush_redis()

Expand All @@ -44,7 +44,7 @@ test_that("rush controller can be passed to TuningInstanceAsyncSingleCrit", {
})

test_that("TuningInstanceAsyncSingleCrit can be passed to a tuner", {
# skip_on_cran()
skip_on_cran()
skip_if_not_installed("rush")
flush_redis()

Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test_mlr_callbacks.R
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ test_that("async save logs callback works", {
skip_on_cran()
skip_if_not_installed("rush")
flush_redis()
options(bbotk_local = TRUE)

rush_plan(n_workers = 2)
instance = ti_async(
task = tsk("pima"),
Expand Down

0 comments on commit 415b169

Please sign in to comment.