Add random delays in FakeFs

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-01-24 16:50:38 -08:00
parent 2b8685c1a2
commit 0cfb9ff1ae
6 changed files with 30 additions and 21 deletions

View file

@ -2432,7 +2432,7 @@ mod tests {
#[gpui::test]
async fn test_traversal(cx: gpui::TestAppContext) {
let fs = FakeFs::new();
let fs = FakeFs::new(cx.background());
fs.insert_tree(
"/root",
json!({