Skip to content

Commit 66abe72

Browse files
committed
VS Code: reduce test flakiness
The 'file on disk changes' test is flaking on CI servers. Increase the delay to give VS Code more time to register its FS watches, hopefully fixing the flakiness.
1 parent 456e1f1 commit 66abe72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vscode/test/vscode-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ tests = {
161161
let helloEditor = await vscode.window.showTextDocument(helloDocument);
162162

163163
// HACK(strager): Wait for VS Code to register its filesystem watchers.
164-
await sleepAsync(100);
164+
await sleepAsync(300);
165165

166166
fs.writeFileSync(helloFilePath, "let x = 3;\nlet x = 4;\n");
167167

0 commit comments

Comments
 (0)