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 Hosting tests in runtime-staging runs #52265

Merged
merged 2 commits into from
May 5, 2021
Merged

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented May 4, 2021

  • Fix HostFactoryResolverTests to work with EnableAggressiveTrimming
  • Disable new hosting tests on Windows running on mono

cc @radical @lewing

@ghost
Copy link

ghost commented May 4, 2021

Tagging subscribers to this area: @eerhardt, @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details
  • Fix HostFactoryResolverTests to work with EnableAggressiveTrimming
  • Disable new hosting tests on Windows running on mono

cc @radical @lewing

Author: eerhardt
Assignees: -
Labels:

area-Extensions-Hosting

Milestone: -

Copy link
Member

@lewing lewing left a comment

Choose a reason for hiding this comment

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

This should fix the test. Is there a reason you went with attributes over a descriptor?

@eerhardt
Copy link
Member Author

eerhardt commented May 4, 2021

Is there a reason you went with attributes over a descriptor?

In these cases, it makes more sense for the test to declare what it is depending on.

Using the attributes better documents why something is needed to be preserved. For example, if a test would get removed, who would know to go update the descriptor?

@lewing
Copy link
Member

lewing commented May 4, 2021

@radical see the failure here

@lewing
Copy link
Member

lewing commented May 5, 2021

AOT hitting #52029 and #52281

@lewing lewing merged commit 2dd1b1f into dotnet:main May 5, 2021
@eerhardt eerhardt deleted the FixStaging branch May 5, 2021 02:44
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants