You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't watch the whole directory in the file watcher test (#326)
When watching the whole test directory we'll also get some events for
the directory, and those events can come with different order depending
on the OS, so we can't rely on them. We check that if a directory event
comes, it is a modification.
Also when testing for events in a file watcher, we need to set the
`polling_interval` to a value that is small enough to detect the changes
we are expecting, otherwise some events could be "merged" if the changes
happen faster than the polling interval.
Fixes#324.
0 commit comments