Skip to content

Commit 0b7bdf4

Browse files
authored
Increse time limitation make test on Windows more stable (#959)
1 parent d1a205a commit 0b7bdf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/suite/extension.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ suite('Extension Test Suite', () => {
4545
test('3. Extension should create the extension log file', async () => {
4646
// Open the document to trigger the extension
4747
vscode.workspace.openTextDocument(getWorkspaceFile('Main.hs'));
48-
assert.ok(await runWithIntervalAndTimeout(() => workspaceFileExist(LOG), 1, 30));
48+
assert.ok(await runWithIntervalAndTimeout(() => workspaceFileExist(LOG), 1, 60));
4949
});
5050

5151
test('4. Extension log should have server output', async () => {
@@ -57,7 +57,7 @@ suite('Extension Test Suite', () => {
5757
}
5858
return false;
5959
};
60-
assert.ok(await runWithIntervalAndTimeout(checkServerLog, 5, 60),
60+
assert.ok(await runWithIntervalAndTimeout(checkServerLog, 5, 120),
6161
'Extension log file has no expected hls output');
6262
});
6363

test/suite/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export async function run(): Promise<void> {
66
// Create the mocha test
77
const mocha = new Mocha({
88
ui: 'tdd',
9-
timeout: 180_000, // 3 mins
9+
timeout: 210_000, // 3.5 mins
1010
color: true,
1111
});
1212

0 commit comments

Comments
 (0)