Skip to content

Commit 095df38

Browse files
committed
migrate tests
1 parent 2f4875e commit 095df38

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

tests/hpc/test-crew_local.R

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,17 @@ tar_test("prevent high-memory data via target objects", {
6060
skip_if_not_installed("crew")
6161
tar_runtime$fun <- "tar_make"
6262
on.exit(tar_runtime$fun <- NULL)
63-
t <- list(tar_target(x, runif(1e7), deployment = "main", format = "qs"))
63+
t <- list(
64+
tar_target(
65+
x,
66+
runif(1e7),
67+
deployment = "main",
68+
format = "qs",
69+
storage = "main",
70+
retrieval = "main",
71+
memory = "persistent"
72+
)
73+
)
6474
pipeline <- pipeline_init(list(t[[1]], tar_target(y, x)))
6575
controller <- crew::crew_controller_local()
6676
algo <- crew_init(pipeline, controller = controller)

tests/hpc/test-crew_sge.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ test_that("crew SGE with many tasks and many workers", {
1515
)
1616
})
1717
tar_make()
18-
expect_equal(tar_outdated(reporter = "forecast"), character(0))
18+
expect_equal(tar_outdated(), character(0))
1919
})

0 commit comments

Comments
 (0)