Skip to content

Commit c89da69

Browse files
committed
Increase every timeout to 90
1 parent 127e77f commit c89da69

File tree

2 files changed

+2669
-3
lines changed

2 files changed

+2669
-3
lines changed

test/suite/extension.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ suite('Extension Test Suite', () => {
144144

145145
test('Extension should create the extension log file', async () => {
146146
await vscode.workspace.openTextDocument(getWorkspaceFile('Main.hs'));
147-
assert.ok(await withTimeout(30, filesCreated.get('log')!), 'Extension log not created in 30 seconds');
147+
assert.ok(await withTimeout(90, filesCreated.get('log')!), 'Extension log not created in 30 seconds');
148148
});
149149

150150

@@ -165,7 +165,7 @@ suite('Extension Test Suite', () => {
165165

166166
test('Extension log should have server output', async () => {
167167
await vscode.workspace.openTextDocument(getWorkspaceFile('Main.hs'));
168-
await delay(20);
168+
await delay(90);
169169
const logContents = getExtensionLogContent();
170170
assert.ok(logContents, 'Extension log file does not exist');
171171
assert.match(logContents, /INFO hls:\s+Registering ide configuration/, 'Extension log file has no hls output');
@@ -174,7 +174,7 @@ suite('Extension Test Suite', () => {
174174
test('Server should inherit environment variables defined in the settings', async () => {
175175
await vscode.workspace.openTextDocument(getWorkspaceFile('Main.hs'));
176176
assert.ok(
177-
await withTimeout(30, filesCreated.get('cache')!),
177+
await withTimeout(90, filesCreated.get('cache')!),
178178
'Server did not inherit XDG_CACHE_DIR from environment variables set in the settings'
179179
);
180180
});

0 commit comments

Comments
 (0)