Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Test: ignore specific WinHttpException on old Windows versions #26428

Merged
merged 1 commit into from
Jan 19, 2018

Conversation

pjanotti
Copy link
Contributor

The root cause issue was already fixed in Windows but old versions still hit this issue. This change makes the intermittently failing test to ignore the known issue on these old Windows versions.

Fixes #7812 (just so GH closes the issue at merge time, the actual issue was fixed in Windows).

The root cause issue was already fixed in Windows but old versions still
hit this issue. This change makes the failing test to ignore the known
issue on these old Windows versions.

Fixes #7812 (just so GH closes the issue at merge time, the actual issue
was fixed in Windows).
@@ -1333,16 +1333,11 @@ private RendezvousAwaitable<int> InternalSendRequestAsync(WinHttpRequestState st
0,
state.ToIntPtr()))
{
int lastError = Marshal.GetLastWin32Error();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am removing this one and other location that I see was added during the time of the investigation of the original bug, let me know if there is a reason to keep them.

Copy link
Contributor

@davidsh davidsh left a comment

Choose a reason for hiding this comment

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

LGTM. Please run outerloop tests before merge.

@pjanotti
Copy link
Contributor Author

@dotnet-bot test Outerloop Linux x64 Debug Build
@dotnet-bot test Outerloop Windows x64 Debug Build
@dotnet-bot test Outerloop OSX x64 Debug Build

@pjanotti
Copy link
Contributor Author

@dotnet-bot test OSX x64 Debug Build

@pjanotti pjanotti merged commit f345a22 into dotnet:master Jan 19, 2018
@pjanotti pjanotti deleted the gh.issue.7812 branch January 19, 2018 17:59
@karelz karelz added this to the 2.1.0 milestone Jan 20, 2018
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…t/corefx#26428)

The root cause issue was already fixed in Windows but old versions still
hit this issue. This change makes the failing test to ignore the known
issue on these old Windows versions.

Fixes dotnet/corefx#7812 (just so GH closes the issue at merge time, the actual issue
was fixed in Windows).

Commit migrated from dotnet/corefx@f345a22
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.

WinHttp buffer supplied to the function was too small error should not be exposed
3 participants