Skip to content

skip ignoring Content-Length test on NodeJs - #69109

Merged
wfurt merged 2 commits into
dotnet:mainfrom
pedrobsaila:69085
May 10, 2022
Merged

wfurt merged 2 commits into
dotnet:mainfrom
pedrobsaila:69085

Conversation

@pedrobsaila

Copy link
Copy Markdown
Contributor

Fixes #69085

@ghost ghost added area-System.Net.Http community-contribution Indicates that the PR has been added by a community member labels May 10, 2022
@ghost

ghost commented May 10, 2022

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #69085

Author: pedrobsaila
Assignees: -
Labels:

area-System.Net.Http

Milestone: -

}

[Fact]
[SkipOnPlatform(TestPlatforms.Browser, "Content-Length can't be present with Transfer-Encoding")]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
[SkipOnPlatform(TestPlatforms.Browser, "Content-Length can't be present with Transfer-Encoding")]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotNodeJS))]

The test works on browser, we can disable it just for NodeJS.

@pedrobsaila pedrobsaila changed the title skip test on ignoring Content-Length on browser skip test on ignoring Content-Length on NodeJs May 10, 2022
@pedrobsaila pedrobsaila changed the title skip test on ignoring Content-Length on NodeJs skip ignoring Content-Length test on NodeJs May 10, 2022

@wfurt wfurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@wfurt
wfurt merged commit f7e0873 into dotnet:main May 10, 2022
@pedrobsaila
pedrobsaila deleted the 69085 branch May 10, 2022 22:37
@ghost ghost locked as resolved and limited conversation to collaborators Jun 10, 2022
@karelz karelz added this to the 7.0.0 milestone Jul 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net.Http community-contribution Indicates that the PR has been added by a community member

Projects

None yet

4 participants