Skip to content

Commit

Permalink
add pending worker also for ssh test
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Oct 10, 2023
1 parent 5cc3840 commit b5fb90c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-7-ssh_proxy.r
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ test_that("simple forwarding works", {
w = methods::new(CMQWorker)#, m$context())
addr1 = m$listen("tcp://127.0.0.1:*")#"inproc://master")
addr2 = p$listen("tcp://127.0.0.1:*")#"inproc://proxy")
m$add_pending_workers(1L)
p$connect(addr1, 500L)
w$connect(addr2, 500L)
expect_true(p$process_one())
Expand Down

0 comments on commit b5fb90c

Please sign in to comment.