]> git.eshelyaron.com Git - emacs.git/commitdiff
Increase timeout on emba for Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 18 Feb 2019 09:54:45 +0000 (10:54 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 18 Feb 2019 09:54:45 +0000 (10:54 +0100)
* test/lisp/net/tramp-tests.el
(tramp--test-shell-command-to-string-asynchronously):
Increase timeout on emba.

test/lisp/net/tramp-tests.el

index dccef81b7b52e6e9bb934f7a11c0b108f10684a1..3eb424c62dcb6e306bc5cb6803c567d600795d0a 100644 (file)
@@ -4113,7 +4113,8 @@ This tests also `make-symbolic-link', `file-truename' and `add-name-to-file'."
   "Like `shell-command-to-string', but for asynchronous processes."
   (with-temp-buffer
     (async-shell-command command (current-buffer))
-    (with-timeout (10 (tramp--test-timeout-handler))
+    (with-timeout
+        ((if (getenv "EMACS_EMBA_CI") 30 10) (tramp--test-timeout-handler))
       (while (accept-process-output
              (get-buffer-process (current-buffer)) nil nil t)))
     (buffer-substring-no-properties (point-min) (point-max))))