diff options
| -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 | ||