]> code.delx.au - gnu-emacs/commitdiff
* test/automated/file-notify-tests.el (file-notify--test-timeout):
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 13 Oct 2015 07:44:48 +0000 (09:44 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 13 Oct 2015 07:44:48 +0000 (09:44 +0200)
Add docstring.  Increase to 10 seconds for remote
directories.  (Bug#21669)

test/automated/file-notify-tests.el

index 03946dd8acf428d96f26dec545c6d50383799d76..c943d91c2d0fd5842c30de301cf047983e6345c6 100644 (file)
@@ -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."