emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ae80854: Try to stop tramp test hangs on hydra


From: Glenn Morris
Subject: [Emacs-diffs] master ae80854: Try to stop tramp test hangs on hydra
Date: Tue, 13 Mar 2018 18:46:07 -0400 (EDT)

branch: master
commit ae80854e9a9f8f6733870b5b5a88467867dceb6c
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    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 422e71d..3fd8f69 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]