Skip to content

Commit

Permalink
Increase timeout for build tests (#1270)
Browse files Browse the repository at this point in the history
30 seconds often wasn't enough to complete the build.

Issue: #1269
  • Loading branch information
plemarquand authored Dec 12, 2024
1 parent 03fbc88 commit 4acbbe6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/integration-tests/commands/build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import {

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

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

await bpPromise.then(() => continueSession());
await bpPromise;
await continueSession();

vscode.debug.removeBreakpoints(breakpoints);
});
});

0 comments on commit 4acbbe6

Please sign in to comment.