summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2015-10-13 09:44:48 +0200
committerMichael Albinus <michael.albinus@gmx.de>2015-10-13 09:44:48 +0200
commite53e1a0426539aa3f2902632fdd8025da8f710f2 (patch)
treea6e3b71d36568ccc43cb016bcd47931b7bd59b8f
parent38f99a02b83e9e408970cb7abdb685725b2004f9 (diff)
downloademacs-e53e1a0426539aa3f2902632fdd8025da8f710f2.tar.gz
* 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 @@
(defvar file-notify--test-event nil)
(defvar file-notify--test-events nil)
(defun file-notify--test-timeout ()
- (if (file-remote-p temporary-file-directory) 6 3))
+ "Timeout to wait for arriving events, in seconds."
+ (if (file-remote-p temporary-file-directory) 10 3))
(defun file-notify--test-cleanup ()
"Cleanup after a test."