diff options
-rw-r--r-- | test/automated/file-notify-tests.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/automated/file-notify-tests.el b/test/automated/file-notify-tests.el index f411c6b76b0..222bdc52928 100644 --- a/test/automated/file-notify-tests.el +++ b/test/automated/file-notify-tests.el @@ -459,8 +459,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (should auto-revert-use-notify) (should auto-revert-notify-watch-descriptor) - ;; Modify file. We wait for a second, in order to - ;; have another timestamp. + ;; Modify file. We wait for a second, in order to have + ;; another timestamp. (with-current-buffer (get-buffer-create "*Messages*") (narrow-to-region (point-max) (point-max))) (sleep-for 1) @@ -483,8 +483,8 @@ Don't wait longer than TIMEOUT seconds for the events to be delivered." (should-not auto-revert-use-notify) (should-not auto-revert-notify-watch-descriptor) - ;; Modify file. We wait for a second, in order to - ;; have another timestamp. + ;; Modify file. We wait for two seconds, in order to have + ;; another timestamp. One second seems to be too short. (with-current-buffer (get-buffer-create "*Messages*") (narrow-to-region (point-max) (point-max))) (sleep-for 2) |