diff --git a/DESCRIPTION b/DESCRIPTION index 6419189f8..afb24359e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -23,7 +23,7 @@ Encoding: UTF-8 Depends: R (>= 3.5) Imports: - nanonext (>= 0.10.2.9018), + nanonext (>= 0.10.2.9019), parallel Enhances: promises diff --git a/NEWS.md b/NEWS.md index 34510c660..889e691ac 100644 --- a/NEWS.md +++ b/NEWS.md @@ -13,7 +13,7 @@ * Fixes supplying an `ssh_config()` specifying tunnelling to the 'remote' argument of `daemons()`. * Fixes the print method for a subset 'miraiCluster' (thanks @HenrikBengtsson #83). * Removes the deprecated deferred evaluation pipe `%>>%`. -* Requires nanonext >= [0.10.2.9012]. +* Requires nanonext >= [0.10.2.9019]. # mirai 0.11.0 diff --git a/tests/tests.R b/tests/tests.R index c91ba11bd..6832752ba 100644 --- a/tests/tests.R +++ b/tests/tests.R @@ -61,7 +61,7 @@ nanotest(inherits(call_mirai(m), "mirai")) nanotest(m$data == 3L || is_error_value(m$data)) nanotest(identical(call_mirai(m), m)) nanotest(is_mirai(m)) -Sys.sleep(1L) +Sys.sleep(2L) nanotestp(m) if (.Platform[["OS.type"]] != "windows") { @@ -69,7 +69,7 @@ if (.Platform[["OS.type"]] != "windows") { args <- list(m = 2L, n = 4L) m <- mirai(.expr = `lang obj`, .args = args, .timeout = 2000L) nanotest(call_mirai(m)$data == 8L || is_error_value(m$data)) -Sys.sleep(1L) +Sys.sleep(2L) nanotest(daemons(url = value <- mirai:::auto_tokenized_url(), dispatcher = FALSE) == value) nanotest(grepl("://", launch_remote(status()$daemons), fixed = TRUE)) nanotestn(launch_local(nextget("urls"))) @@ -163,7 +163,7 @@ Sys.sleep(1L) nanotest(is_mirai(m <- mirai(TRUE))) nanotest(is.character(launch_remote("ws://[::1]:5555", remote = remote_config(command = "echo", args = list(c("Test out:", ".", ">/dev/null")), rscript = "/usr/lib/R/bin/Rscript")))) nanotest(is.character(launch_remote("tcp://localhost:5555", remote = ssh_config(remotes = c("ssh://remotehost", "ssh://remotenode"), tunnel = TRUE, command = "echo")))) - Sys.sleep(1L) + Sys.sleep(2L) nanotestn(launch_local(mirai:::auto_tokenized_url(), .compute = "test")) Sys.sleep(1L) nanotest(daemons(n = 2L, url = value <- "ws://:0", dispatcher = FALSE, remote = remote_config()) != value)