Skip to content

Commit a39b67c

Browse files
committed
increase timeouts for mac CI
1 parent f4b9592 commit a39b67c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-7-ssh_proxy.r

+4-4
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ test_that("using the proxy without pool and forward", {
6262
addr = m$listen("tcp://127.0.0.1:*")
6363
p = parallel::mcparallel(ssh_proxy(sub(".*:", "", addr)))
6464

65-
m$proxy_submit_cmd(list(n_jobs=1), 5000L)
65+
m$proxy_submit_cmd(list(n_jobs=1), 10000L)
6666
m$add_pending_workers(1L)
67-
expect_null(m$recv(1000L)) # worker 1 up
67+
expect_null(m$recv(2000L)) # worker 1 up
6868
m$send(5 + 2)
6969
expect_equal(m$recv(500L), 7) # collect results
7070

@@ -86,9 +86,9 @@ test_that("using the proxy without pool and forward, 2 workers", {
8686
addr = m$listen("tcp://127.0.0.1:*")
8787
p = parallel::mcparallel(ssh_proxy(sub(".*:", "", addr)))
8888

89-
m$proxy_submit_cmd(list(n_jobs=2), 5000L)
89+
m$proxy_submit_cmd(list(n_jobs=2), 10000L)
9090
m$add_pending_workers(2L)
91-
expect_null(m$recv(1000L)) # worker 1 up
91+
expect_null(m$recv(2000L)) # worker 1 up
9292
m$send({ Sys.sleep(0.5); 5 + 2 })
9393
expect_null(m$recv(500L)) # worker 2 up
9494
m$send({ Sys.sleep(0.5); 3 + 1 })

0 commit comments

Comments
 (0)