Skip to content

testing: run vscode tests in-order - #173056

Closed
Connor Peet (connor4312) wants to merge 3 commits into
mainfrom
connor4312/173016
Closed

Connor Peet (connor4312) wants to merge 3 commits into
mainfrom
connor4312/173016

Conversation

@connor4312

Copy link
Copy Markdown
Member

Use proper mocha file load events so that order is retained (instead of running all suites in alphabetical order across the codebase)

Fixes #173016
Fixes #173015

Use proper mocha file load events so that order is retained (instead of running all suites in alphabetical order across the codebase)

Fixes #173016
Fixes #173015
@connor4312

Copy link
Copy Markdown
Member Author

Henning Dieterichs (@hediet) this should be good to go after the test is fixed 🙂

auto-merge was automatically disabled February 9, 2023 14:00

Merge queue setting changed

@hediet

Henning Dieterichs (hediet) commented Mar 15, 2023 •

Copy link
Copy Markdown
Member

I spent some hours figuring out why the test fails and I'm still clueless.
Unfortunately, it only fails when running all tests in electron and unfortunately async stack traces don't work.

I think some test T asynchronously creates a disposable when the merge editor tests run.
However, T does not seem to dispose that disposable before the merge editor test finishes, so the merge editor tests marks it as leaking...
I did not figure out which test T is.


Also, I don't think this is a proper fix for the linked issues. It fixes it for VS Code (but even that does not always seem to be the case), but generally jumping tests can still be an issue.

@connor4312

Copy link
Copy Markdown
Member Author

This came in with other improvements necessary for snapshot tests

@github-actions github-actions Bot locked and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running All VS Code Tests in Test Explorer Makes VS Code Slow Test Explorer Jumps Too Much When Running VS Code Test Suite

3 participants