summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-13 18:45:38 -0400
committerGlenn Morris <rgm@gnu.org>2018-03-13 18:45:38 -0400
commitae80854e9a9f8f6733870b5b5a88467867dceb6c (patch)
treefa1370f2ba556eca950ae048708fa5f711bf5b0a
parent06911714ef66ea81380b1eda75a9f7cfbc9e0b65 (diff)
downloademacs-ae80854e9a9f8f6733870b5b5a88467867dceb6c.tar.gz
Try to stop tramp test hangs on hydra
* test/lisp/net/tramp-tests.el (tramp-test41-asynchronous-requests): Use fewer processes on hydra.
-rw-r--r--test/lisp/net/tramp-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/net/tramp-tests.el b/test/lisp/net/tramp-tests.el
index 422e71df7c3..3fd8f69443e 100644
--- a/test/lisp/net/tramp-tests.el
+++ b/test/lisp/net/tramp-tests.el
@@ -4719,6 +4719,8 @@ process sentinels. They shall not disturb each other."
;; This test could be blocked on hydra. So we set a timeout of 300
;; seconds, and we send a SIGUSR1 signal after 300 seconds.
+ ;; This clearly doesn't work though, because the test not
+ ;; infrequently hangs for hours until killed by the infrastructure.
(with-timeout (300 (tramp--test-timeout-handler))
(define-key special-event-map [sigusr1] 'tramp--test-timeout-handler)
(tramp--test-instrument-test-case (if (getenv "EMACS_HYDRA_CI") 10 0)
@@ -4743,6 +4745,7 @@ process sentinels. They shall not disturb each other."
(or
(ignore-errors
(string-to-number (getenv "REMOTE_PARALLEL_PROCESSES")))
+ (if (getenv "EMACS_HYDRA_CI") 5)
10))
;; On hydra, timings are bad.
(timer-repeat