Skip to content
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

fix ContainsEmptyListOrNullTest sproadic failures #14946

Merged
merged 7 commits into from
Feb 20, 2024

Conversation

pinzart90
Copy link
Contributor

@pinzart90 pinzart90 commented Feb 15, 2024

Enforced MMVM pattern : removed GNMView usage in GNMViewModel
Removed redundant instantiation of GNMView and GNMViewModel in extension code
Reset the EnablePersistExtensions flag in tests
Removed redundant RaiseLoadedEvent calls in tests
Added preloaded libs for GNMVE tests
Made GNMView disposable

libraries.Add("DesignScriptBuiltin.dll");
libraries.Add("DSCoreNodes.dll");
base.GetLibrariesToPreload(libraries);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are needed by some of the graphs opened during GraphNodeManagerViewExtensionTests tests

Copy link

github-actions bot commented Feb 15, 2024

UI Smoke Tests

Test: success. 2 passed, 0 failed.
TestComplete Test Result
Workflow Run: UI Smoke Tests
Check: UI Smoke Tests - net8.0

@pinzart90
Copy link
Contributor Author

@aparajit-pratap any ideas how to fix the API break analysis ?
Looks like some typeforwarding is not taken into account ...Might be related to this dotnet/roslyn-analyzers#3228

@aparajit-pratap
Copy link
Contributor

@aparajit-pratap any ideas how to fix the API break analysis ? Looks like some typeforwarding is not taken into account ...Might be related to this dotnet/roslyn-analyzers#3228

I can send a PR to fix those errors. Basically, if you use the CodeFix option on the squiggly line in VS for each of those errors, they'll automatically be added to the unshippedAPI.txt file.

@pinzart90
Copy link
Contributor Author

@aparajit-pratap any ideas how to fix the API break analysis ? Looks like some typeforwarding is not taken into account ...Might be related to this dotnet/roslyn-analyzers#3228

I can send a PR to fix those errors. Basically, if you use the CodeFix option on the squiggly line in VS for each of those errors, they'll automatically be added to the unshippedAPI.txt file.

I do not see any compiler issues in VS (no squiggly lines). Not sure where or how ...

@aparajit-pratap
Copy link
Contributor

@aparajit-pratap any ideas how to fix the API break analysis ? Looks like some typeforwarding is not taken into account ...Might be related to this dotnet/roslyn-analyzers#3228

I can send a PR to fix those errors. Basically, if you use the CodeFix option on the squiggly line in VS for each of those errors, they'll automatically be added to the unshippedAPI.txt file.

I do not see any compiler issues in VS (no squiggly lines). Not sure where or how ...

You're right, I don't see them either for the typeforwarded types. Maybe the analyzer works differently for these cases 🤷

@QilongTang QilongTang merged commit a30f1e3 into master Feb 20, 2024
21 of 22 checks passed
@QilongTang QilongTang deleted the fix_sporadic_test_fail branch February 20, 2024 18:57
@QilongTang QilongTang added this to the 3.1 milestone Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants