aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2015-10-13 09:44:48 +0200
committerMichael Albinus2015-10-13 09:44:48 +0200
commite53e1a0426539aa3f2902632fdd8025da8f710f2 (patch)
treea6e3b71d36568ccc43cb016bcd47931b7bd59b8f
parent38f99a02b83e9e408970cb7abdb685725b2004f9 (diff)
downloademacs-e53e1a0426539aa3f2902632fdd8025da8f710f2.tar.gz
emacs-e53e1a0426539aa3f2902632fdd8025da8f710f2.zip
* test/automated/file-notify-tests.el (file-notify--test-timeout):
Add docstring. Increase to 10 seconds for remote directories. (Bug#21669)
-rw-r--r--test/automated/file-notify-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el
index 03946dd8acf..c943d91c2d0 100644
--- a/test/automated/file-notify-tests.el
+++ b/test/automated/file-notify-tests.el
@@ -62,7 +62,8 @@
62(defvar file-notify--test-event nil) 62(defvar file-notify--test-event nil)
63(defvar file-notify--test-events nil) 63(defvar file-notify--test-events nil)
64(defun file-notify--test-timeout () 64(defun file-notify--test-timeout ()
65 (if (file-remote-p temporary-file-directory) 6 3)) 65 "Timeout to wait for arriving events, in seconds."
66 (if (file-remote-p temporary-file-directory) 10 3))
66 67
67(defun file-notify--test-cleanup () 68(defun file-notify--test-cleanup ()
68 "Cleanup after a test." 69 "Cleanup after a test."