File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ if (dataDir) {
42
42
if ( process . platform === "darwin" && process . arch === "x64" ) {
43
43
launchArgs . push ( "--disable-gpu" ) ;
44
44
}
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
+
45
51
let vsixPath = process . env [ "VSCODE_SWIFT_VSIX" ] ;
46
52
if ( vsixPath ) {
47
53
if ( ! path . isAbsolute ( vsixPath ) ) {
@@ -58,8 +64,6 @@ if (vsixPath) {
58
64
}
59
65
}
60
66
console . log ( "Running tests against extension version " + versionStr ) ;
61
- const install = [ ] ;
62
- const installExtensions = [ "vadimcn.vscode-lldb" , "llvm-vs-code-extensions.lldb-dap" ] ;
63
67
64
68
for ( const ext of installExtensions ) {
65
69
install . push ( {
Original file line number Diff line number Diff line change 14
14
15
15
suite ( "Sleep" , ( ) => {
16
16
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 ) ;
19
19
} ) ;
You can’t perform that action at this time.
0 commit comments