Skip to content

Commit

Permalink
Ensure that param search is completed in empty cache test
Browse files Browse the repository at this point in the history
  • Loading branch information
lhjohn committed Sep 7, 2023
1 parent 31ef832 commit 24e7110
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-TrainingCache.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ test_that("Estimator can resume training from cache", {
}
)
sink()
trainCache <- TrainingCache$new(analysisPath)
testthat::expect_equal(is.na(trainCache$getLastGridSearchIndex()), TRUE)
})

0 comments on commit 24e7110

Please sign in to comment.