Skip to content

Commit 4acbbe6

Browse files
authored
Increase timeout for build tests (#1270)
30 seconds often wasn't enough to complete the build. Issue: #1269
1 parent 03fbc88 commit 4acbbe6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/integration-tests/commands/build.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232

3333
suite("Build Commands", function () {
3434
// Default timeout is a bit too short, give it a little bit more time
35-
this.timeout(30 * 1000);
35+
this.timeout(120 * 1000);
3636

3737
let folderContext: FolderContext;
3838
let workspaceContext: WorkspaceContext;
@@ -105,7 +105,9 @@ suite("Build Commands", function () {
105105
const result = vscode.commands.executeCommand(Commands.DEBUG);
106106
expect(result).to.eventually.be.true;
107107

108-
await bpPromise.then(() => continueSession());
108+
await bpPromise;
109+
await continueSession();
110+
109111
vscode.debug.removeBreakpoints(breakpoints);
110112
});
111113
});

0 commit comments

Comments
 (0)