diff options
| author | Ken Brown | 2018-08-03 10:37:04 -0400 |
|---|---|---|
| committer | Ken Brown | 2018-08-03 15:33:33 -0400 |
| commit | 5dc3d0a9b0594fee80a03e78fee109ebd0934dcf (patch) | |
| tree | 0b05304dfa87d63aab7ee6effe1d5a6c84c79eb6 | |
| parent | da0054c30729e58259c1e7251cb03c8ef13ff943 (diff) | |
| download | emacs-5dc3d0a9b0594fee80a03e78fee109ebd0934dcf.tar.gz emacs-5dc3d0a9b0594fee80a03e78fee109ebd0934dcf.zip | |
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)
| -rw-r--r-- | test/lisp/filenotify-tests.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 56403f43092..612ea8cd7f4 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el | |||
| @@ -891,9 +891,9 @@ delivered." | |||
| 891 | 891 | ||
| 892 | ;; Modify file. We wait for two seconds, in order to | 892 | ;; Modify file. We wait for two seconds, in order to |
| 893 | ;; have another timestamp. One second seems to be too | 893 | ;; have another timestamp. One second seems to be too |
| 894 | ;; short. | 894 | ;; short. And Cygwin sporadically requires more than two. |
| 895 | (ert-with-message-capture captured-messages | 895 | (ert-with-message-capture captured-messages |
| 896 | (sleep-for 2) | 896 | (sleep-for (if (eq system-type 'cygwin) 3 2)) |
| 897 | (write-region | 897 | (write-region |
| 898 | "foo bla" nil file-notify--test-tmpfile nil 'no-message) | 898 | "foo bla" nil file-notify--test-tmpfile nil 'no-message) |
| 899 | 899 | ||