[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5dc3d0a: Fix a filenotify test failure on Cygwin
From: |
Ken Brown |
Subject: |
[Emacs-diffs] master 5dc3d0a: Fix a filenotify test failure on Cygwin |
Date: |
Fri, 3 Aug 2018 15:34:44 -0400 (EDT) |
branch: master
commit 5dc3d0a9b0594fee80a03e78fee109ebd0934dcf
Author: Ken Brown <address@hidden>
Commit: Ken Brown <address@hidden>
Fix a filenotify test failure on Cygwin
* test/lisp/filenotify-tests.el
(file-notify-test04-autorevert): Increase a sleep-for time
from 2 to 3 on Cygwin. This avoids sporadic failures of the
test. (Bug#32363)
---
test/lisp/filenotify-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el
index 56403f4..612ea8c 100644
--- a/test/lisp/filenotify-tests.el
+++ b/test/lisp/filenotify-tests.el
@@ -891,9 +891,9 @@ delivered."
;; Modify file. We wait for two seconds, in order to
;; have another timestamp. One second seems to be too
- ;; short.
+ ;; short. And Cygwin sporadically requires more than two.
(ert-with-message-capture captured-messages
- (sleep-for 2)
+ (sleep-for (if (eq system-type 'cygwin) 3 2))
(write-region
"foo bla" nil file-notify--test-tmpfile nil 'no-message)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 5dc3d0a: Fix a filenotify test failure on Cygwin,
Ken Brown <=