I have been experimenting with running tests in parallel
mocha itself has a parallel mode, but it's only suitable for nodejs tests
A similar technique can be emulated by splitting tests and spawning off multiple test runners. i added a simple patch that can be used as so:
scripts/test.sh --testSplit 2/2
However, I am seeing failures when running specific portions of the test suite.
With #253049 running the command above I see:
1) TerminalLinkParsing
"before each" hook in "TerminalLinkParsing":
+ expected - actual
Error: done() called multiple times in hook <TerminalLinkParsing "before each" hook in "TerminalLinkParsing"> of file vs/workbench/contrib/terminalContrib/links/test/browser/terminalLinkParsing.test; in addition, done() received error: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
2 !== 0
cc @joaomoreno who did some similar work in #241847