Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Mar 18, 2022
1 parent 571d3ca commit c68ceed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/suite/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ suite('Extension Test Suite', () => {
test('Server should inherit environment variables defined in the settings', async () => {
await vscode.workspace.openTextDocument(getWorkspaceFile('Main.hs'));
assert.ok(
await withTimeout(90, filesCreated.get('cache')!),
retryOperation(() => new Promise((resolve, reject) => (filesCreated.get('cache')!), 1000 * 5, 20),
'Server did not inherit XDG_CACHE_DIR from environment variables set in the settings'
);
});
Expand Down

0 comments on commit c68ceed

Please sign in to comment.