Further attempt to avoid hang in network-stream-tests
* test/lisp/net/network-stream-tests.el (connect-to-tls-ipv6-nowait): Limit the time we wait for the external process.
This commit is contained in:
parent
237e238cfc
commit
9742069276
1 changed files with 5 additions and 2 deletions
|
@ -280,8 +280,11 @@
|
|||
(< (setq times (1+ times)) 10))
|
||||
(sit-for 0.1))
|
||||
(should proc)
|
||||
(while (eq (process-status proc) 'connect)
|
||||
(sit-for 0.1)))
|
||||
(setq times 0)
|
||||
(while (and (eq (process-status proc) 'connect)
|
||||
(< (setq times (1+ times)) 10))
|
||||
(sit-for 0.1))
|
||||
(skip-unless (not (eq (process-status proc) 'connect))))
|
||||
(if (process-live-p server) (delete-process server)))
|
||||
(setq status (gnutls-peer-status proc))
|
||||
(should (consp status))
|
||||
|
|
Loading…
Add table
Reference in a new issue