inotify alert (#15027)

Release Notes:

- linux: Show an error and troubleshooting steps for inotify limits
(#10310)
This commit is contained in:
Conrad Irwin 2024-07-23 14:21:56 -06:00 committed by GitHub
parent 41a3e78b1e
commit b0c525af5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 103 additions and 29 deletions

View file

@ -841,6 +841,10 @@ async fn test_write_file(cx: &mut TestAppContext) {
)
.await
.unwrap();
#[cfg(target_os = "linux")]
fs::watcher::global(|_| {}).unwrap();
cx.read(|cx| tree.read(cx).as_local().unwrap().scan_complete())
.await;
tree.flush_fs_events(cx).await;