Skip to content

Commit

Permalink
mirai version
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Sep 16, 2023
1 parent b643e20 commit ad9895a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Depends:
Imports:
data.table,
getip,
mirai (>= 0.9.1.9026),
mirai (>= 0.9.1.9035),
nanonext (>= 0.10.0),
processx,
ps,
Expand Down
29 changes: 14 additions & 15 deletions tests/tls/test-crew_tls.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,20 @@ test_that("mirai client can start using custom credentials", {
"fd.key -out fd.crt -passin pass:crew"
)
)
get_password <- function() {
"crew"
}
mirai::daemons(
n = 1L,
url = "wss://127.0.0.1:0",
dispatcher = TRUE,
seed = NULL,
tls = c(
paste(readLines("fd.crt"), collapse = "\n"),
paste(readLines("fd.key"), collapse = "\n")
),
pass = get_password(),
token = TRUE,
.compute = "name"
expect_silent(
tmp <- mirai::daemons(
n = 1L,
url = "wss://127.0.0.1:0",
dispatcher = TRUE,
seed = NULL,
tls = c(
paste(readLines("fd.crt"), collapse = "\n"),
paste(readLines("fd.key"), collapse = "\n")
),
pass = "crew",
token = TRUE,
.compute = "name"
)
)
mirai::daemons(n = 0L)
})
Expand Down

0 comments on commit ad9895a

Please sign in to comment.