Skip to content

Commit c68ceed

Browse files
committed
Fix test
1 parent 571d3ca commit c68ceed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/suite/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ suite('Extension Test Suite', () => {
187187
test('Server should inherit environment variables defined in the settings', async () => {
188188
await vscode.workspace.openTextDocument(getWorkspaceFile('Main.hs'));
189189
assert.ok(
190-
await withTimeout(90, filesCreated.get('cache')!),
190+
retryOperation(() => new Promise((resolve, reject) => (filesCreated.get('cache')!), 1000 * 5, 20),
191191
'Server did not inherit XDG_CACHE_DIR from environment variables set in the settings'
192192
);
193193
});

0 commit comments

Comments
 (0)