From ae80854e9a9f8f6733870b5b5a88467867dceb6c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 13 Mar 2018 18:45:38 -0400 Subject: [PATCH] Try to stop tramp test hangs on hydra * test/lisp/net/tramp-tests.el (tramp-test41-asynchronous-requests): Use fewer processes on hydra. --- test/lisp/net/tramp-tests.el | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2