Skip to content

Commit f690074

Browse files
committed
make test more robust
1 parent 47c3025 commit f690074

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/tests.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,12 +513,15 @@ nanotestz(close(s1))
513513
nanotestz(close(s2))
514514
nanotestz(close(s3))
515515

516+
nanotestxp(cv <- cv())
516517
nanotesterr(.dispatcher(host = "inproc://hostdisp", url = "inproc://disp/1", tls = ""), "not a valid TLS Configuration")
517518
nanotestxp(disp <- .dispatcher(host = "inproc://hostdisp", url = "inproc://disp/1", tls = NULL))
518519
nanotestz(.online(disp))
519520
nanotestn(.online("a"))
520521
nanotestnano(s <- socket(protocol = "rep"))
522+
nanotestz(pipe_notify(s, cv, add = TRUE))
521523
nanotestz(dial(s, url = "inproc://disp/1"))
524+
nanotest(wait(cv))
522525
nanotestz(send(disp, NULL, block = 500L))
523526
nanotestn(recv(s, block = 500L))
524527
nanotestz(send(s, TRUE, block = 500L))

0 commit comments

Comments
 (0)