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
Attempt to fix tests failure for MEF #9454
Conversation
https://ci.appveyor.com/project/gitextensions/gitextensions/builds/40289794#L62 Cannot see why it fails, works locally... |
The master branch is building successfully... In which branch are you seeing the issues? |
All. |
I can run all unit tests locally after
|
Are you running integration tests from VS? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally. 👍
Clean in VS is the same |
6acfbe7
to
6b344cc
Compare
Reverted the first change as it raises CS0234 (how did I get that working) and applied the change to tests where it mattered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We must remember this workaround when the next test is affected.
UnitTests/GitUI.Tests/UserControls/RevisionGrid/Graph/LaneInfoProviderTests.cs
Outdated
Show resolved
Hide resolved
Added a few more tests that cannot run in isolation after a clean |
dd6ca28
to
9f551ea
Compare
UI integration tests deadlock under VS Co-authored-by: RussKie <russkie@gmail.com>
6675b4e
to
48879b7
Compare
I squashed RussKies fixup that added a property to the test instead |
Proposed changes
A few test changes to fix flaky tests
Integration tests fail after a clean, for instance ToggleBetweenArtificialAndHeadCommits_no_index_change.
In AppVeyor the tests time out.
Locally you get a popup
If you debug, you see the exception in ManagedExtenisibility.cs CreateExportProvider as _aggregateCatalog is null.
This occurs after MEF in Program.cs RunApplication() ab9ba80
MEF are not init in tests.
Not sure if this is the best solution.
Test methodology
Manual
✒️ I contribute this code under The Developer Certificate of Origin.