Skip to content

Commit d07175e

Browse files
committed
Fix: Increase delay to work around test failure.
1 parent 082c294 commit d07175e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/ide/filewatcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ mod tests {
11131113
dest.push("test2.py");
11141114
fs::rename(file_path, dest.as_path()).unwrap();
11151115
// Wait for the filewatcher to debounce this file write.
1116-
sleep(Duration::from_secs(1)).await;
1116+
sleep(Duration::from_secs(2)).await;
11171117
let m = get_message(&mut to_client_rx).await;
11181118
assert_eq!(m.id, INITIAL_IDE_MESSAGE_ID + 2.0 * MESSAGE_ID_INCREMENT);
11191119
assert!(matches!(m.message, EditorMessageContents::Closed));

0 commit comments

Comments
 (0)