Skip to content

Commit b4db374

Browse files
committed
Fix error
1 parent c724f98 commit b4db374

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.vscode-test.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ if (dataDir) {
4242
if (process.platform === "darwin" && process.arch === "x64") {
4343
launchArgs.push("--disable-gpu");
4444
}
45+
46+
// https://github.com/swiftlang/vscode-swift/issues/1751
47+
// Will install extensions before test run
48+
const install = [];
49+
const installExtensions = ["vadimcn.vscode-lldb", "llvm-vs-code-extensions.lldb-dap"];
50+
4551
let vsixPath = process.env["VSCODE_SWIFT_VSIX"];
4652
if (vsixPath) {
4753
if (!path.isAbsolute(vsixPath)) {
@@ -58,8 +64,6 @@ if (vsixPath) {
5864
}
5965
}
6066
console.log("Running tests against extension version " + versionStr);
61-
const install = [];
62-
const installExtensions = ["vadimcn.vscode-lldb", "llvm-vs-code-extensions.lldb-dap"];
6367

6468
for (const ext of installExtensions) {
6569
install.push({

test/sleep.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515
suite("Sleep", () => {
1616
test("Wait 5 seconds...", async () => {
17-
await new Promise(r => setTimeout(r, 5000));
18-
}).timeout(10000);
17+
await new Promise(r => setTimeout(r, 15000));
18+
}).timeout(20000);
1919
});

0 commit comments

Comments
 (0)