summaryrefslogtreecommitdiff
path: root/test/src/process-tests.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-07-11 13:19:48 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-07-11 13:19:48 +0200
commit061de95d5951642d19cc9445ddbe063e1e2019bb (patch)
treeddfe57eb3530b154611f1a9d67955a4c63e7085a /test/src/process-tests.el
parent215a700751f88bba18989e340181361a484d5b3a (diff)
downloademacs-061de95d5951642d19cc9445ddbe063e1e2019bb.tar.gz
emacs-061de95d5951642d19cc9445ddbe063e1e2019bb.tar.bz2
emacs-061de95d5951642d19cc9445ddbe063e1e2019bb.zip
Don't call home from test/src/process-tests.el
* test/src/process-tests.el (process-num-processors): Move from here... * test/manual/process-callout-tests.el: ... to here (bug#55858).
Diffstat (limited to 'test/src/process-tests.el')
-rw-r--r--test/src/process-tests.el29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/src/process-tests.el b/test/src/process-tests.el
index 824c6da1191..f1ed7e18d5b 100644
--- a/test/src/process-tests.el
+++ b/test/src/process-tests.el
@@ -909,35 +909,6 @@ Return nil if FILENAME doesn't exist."
;; ...and the change description should be "interrupt".
(should (equal '("interrupt\n") events)))))
-(ert-deftest process-async-https-with-delay ()
- "Bug#49449: asynchronous TLS connection with delayed completion."
- (skip-unless (and internet-is-working (gnutls-available-p)))
- (let* ((status nil)
- (buf (url-http
- #s(url "https" nil nil "elpa.gnu.org" nil
- "/packages/archive-contents" nil nil t silent t t)
- (lambda (s) (setq status s))
- '(nil) nil 'tls)))
- (unwind-protect
- (progn
- ;; Busy-wait for 1 s to allow for the TCP connection to complete.
- (let ((delay 1.0)
- (t0 (float-time)))
- (while (< (float-time) (+ t0 delay))))
- ;; Wait for the entire operation to finish.
- (let ((limit 4.0)
- (t0 (float-time)))
- (while (and (null status)
- (< (float-time) (+ t0 limit)))
- (sit-for 0.1)))
- (should status)
- (should-not (plist-get status ':error))
- (should buf)
- (should (> (buffer-size buf) 0))
- )
- (when buf
- (kill-buffer buf)))))
-
(ert-deftest process-num-processors ()
"Sanity checks for num-processors."
(should (equal (num-processors) (num-processors)))