-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support running multiple tests suites at the same time #68988
Comments
I believe this limitation is lifted as soon as you use separate user data dirs, but @bpasero should know more. |
Yeah, different user data dirs are a possible workaround. |
Aha! That seems to work, though the (If that's going to be the official way to support it, it may be worth tweaking this text to say that instead :-)) |
This allows running multiple sets of tests at the same time (see microsoft/vscode#68988).
I've opened microsoft/vscode-extension-vscode#144 which seems to do the job (in my local testing). |
This allows running multiple sets of tests at the same time (see microsoft/vscode#68988).
I tried spawning multiple instances on Travis, and I see failures like this:
I'm positive there are no changes that would affect the restoring of the modules (the full diff is here). I tried adding a delay between each test spawn, but no change. I'll try and do more digging, but I thought it worth posting in case it seems familiar to anyone? |
I gave up on this and just deal with the run times running them individually. Running VS Code on CI has become pretty unstable even without them overlapping (mostly "Render process crashed!" and "Failed to show someFile in editor undefined") so this just seems like something extra to go wrong. If I can get my setup to run faster, I might just use more shards on Travis/AppVeyor to try and speed things up. |
Let me know if you've figured out the reason for the Render process crashed error. |
Unfortunately I did not. I gave up on trying to run them concurrently and instead run more entirely separate instances in the CI script (which means merging coverage, etc. but it seems most reliable). I still do see VS Code crash pretty frequently (running only one instance) though. More recently, macOS runs just seem to hang at the end (see #82676) which means almost every test run is red now anyway 😭 |
Is it only happening to you on windows? (The process crashing) |
I don't remember to be honest - it was some time ago. I already spent more time on it than I'd like to repeat to find out again 😁 |
Integration tests for extensions can be kinda slow so it'd be great if we could spawn separate instances of Code to run different tests at the same time on CI services. Currently this happens:
The word currently in that message suggests that this may be a temporary limitation, though I couldn't find an existing issue about relaxing that restriction.
Is it possible?
The text was updated successfully, but these errors were encountered: