diff --git a/test/lisp/filenotify-tests.el b/test/lisp/filenotify-tests.el index 54e7ebfc0e..9b5c751021 100644 --- a/test/lisp/filenotify-tests.el +++ b/test/lisp/filenotify-tests.el @@ -425,6 +425,7 @@ file-notify--test-make-temp-name '(change) #'second-callback))) ;; Remove first watch. (file-notify-rm-watch file-notify--test-desc) + (file-notify--test-read-event) ;; Only the second callback shall run. (delete-file file-notify--test-tmpfile) (file-notify--wait-for-events