Skip to content

Commit 4f47aa4

Browse files
committed
Increase unit test timeout to 10 minutes
And Mocha's debugger hook-up timeout to 30 seconds. Now unit tests can be debugged easily, and the timeout is still appropriate enough for CI.
1 parent 6b1b0e3 commit 4f47aa4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.mocharc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
".jsx"
77
],
88
"require": "source-map-support/register",
9-
"timeout": 60000,
9+
"timeout": 600000,
1010
"slow": 2000,
1111
"spec": "out/test/**/*.test.js"
1212
}

extension-dev.code-workspace

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"mochaExplorer.autoload": false, // The test instance pops up every time discovery or run is done, this could be annoying on startup.
6060
"mochaExplorer.debuggerPort": 59229, // Matches the launch config, we dont want to use the default port as we are launching a duplicate instance of vscode and it might conflict.
6161
"mochaExplorer.ipcRole": "server",
62-
"mochaExplorer.ipcTimeout": 10000,
62+
"mochaExplorer.ipcTimeout": 30000, // 30 seconds
6363
"testExplorer.useNativeTesting": true,
6464
"mochaExplorer.env": {
6565
"VSCODE_VERSION": "insiders",

0 commit comments

Comments
 (0)