Skip to content

Commit 33f1912

Browse files
TESTS: Fix EagerFuture -> SequentialFuture
1 parent da2321b commit 33f1912

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/batchtools_multicore.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for (cores in 1:min(2L, availableCores("multicore"))) {
2727
}, globals = globals)
2828
stopifnot(
2929
inherits(f, "BatchtoolsFuture") ||
30-
((cores == 1 || !supportsMulticore()) && inherits(f, "EagerFuture"))
30+
((cores == 1 || !supportsMulticore()) && inherits(f, "SequentialFuture"))
3131
)
3232

3333
print(resolved(f))

tests/globals,manual.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ f <- future({
6060
}, globals = FALSE)
6161
rm(list = names(globals))
6262
y <- tryCatch(value(f), error = identity)
63-
if (!inherits(f, c("EagerFuture", "MulticoreFuture"))) {
63+
if (!inherits(f, c("SequentialFuture", "MulticoreFuture"))) {
6464
stopifnot(inherits(y, "simpleError"))
6565
}
6666

0 commit comments

Comments
 (0)