inotify alert (#15027)
Release Notes: - linux: Show an error and troubleshooting steps for inotify limits (#10310)
This commit is contained in:
parent
41a3e78b1e
commit
b0c525af5f
4 changed files with 103 additions and 29 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue