This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Share CFRunLoop for FSEventStreams in FileSystemWatcher on OSX (#33865)
* Share CFRunLoop for FSEventStreams in FileSystemWatcher on OSX * Address review comments * Add execution context capturing * Fix nits * Add some tests to check multiple watchers * Address review comments * Update FileSystemWatcher tests * Add timeout for non-expected events * Wrap FileSystemWatcher_File_Create_EnablingDisablingNotAffectRaisingEvent test in ExecuteWithRetry helper method and mark it with Outerloop * Wrap FileSystemWatcher_File_Create_WatchOwnPath test in ExecuteWithRetry helper method * Move disposing FileSystemWatcher instances to a finally section in FileSystemWatcher_File_Create_ForceLoopRestart test * Use null-conditional operator before disposing
- Loading branch information