Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix failing HttpListener tests - #19579

Merged
stephentoub merged 2 commits into
dotnet:masterfrom
hughbe:httplistener-test-fixes
May 10, 2017
Merged

Fix failing HttpListener tests#19579
stephentoub merged 2 commits into
dotnet:masterfrom
hughbe:httplistener-test-fixes

Conversation

@hughbe

@hughbe hughbe commented May 10, 2017

Copy link
Copy Markdown
  • Add_InvalidPrefixNotStarted_ThrowsHttpListenerExceptionOnStart: connecting to "http://microsoft.com/" was seemingly allowed in CI.

  • Add_InvalidPrefixAlreadyStarted_ThrowsHttpListenerExceptionOnAdd: connecting to "http://microsoft.com/" was seemingly allowed in CI.

  • Remove_PrefixExistsNotStarted_ReturnsTrue: this test shouldn't fail in CI, I reckon it was just disabled alongside the actual bad test (Remove_PrefixExistsStarted_ReturnsTrue)

  • Remove_PrefixExistsStarted_ReturnsTrue: a race condition: listener may not have actually stopped listening by the time we try to connect.

Fixes #19526

- Add_InvalidPrefixNotStarted_ThrowsHttpListenerExceptionOnStart: connecting to "http://microsoft.com/" was seemingly allowed in CI.
- Add_InvalidPrefixAlreadyStarted_ThrowsHttpListenerExceptionOnAdd: connecting to "http://microsoft.com/" was seemingly allowed in CI.

- Remove_PrefixExistsNotStarted_ReturnsTrue: this test shouldn't fail in CI, I reckon it was just disabled alongside the actual bad test (Remove_PrefixExistsStarted_ReturnsTrue)
- Remove_PrefixExistsStarted_ReturnsTrue: a race condition: listener may not have actually stopped listening by the time we try to connect.
@danmoseley

Copy link
Copy Markdown

@hughbe looks like this may have fixed it for everything but OSX.
One option could be to leave these disabled for OSX only for now.

@hughbe

hughbe commented May 10, 2017

Copy link
Copy Markdown
Author

Hmm, maybe I'm just being nervous after breaking the CI yesterday, but I don't really understand why that test would fail, and we can start listening to http://ae54bdc8781f4749893a9a99eb4f49bc/!

@danmoseley

Copy link
Copy Markdown

We need to purchase you a mac :)

@hughbe

hughbe commented May 10, 2017

Copy link
Copy Markdown
Author

We need to purchase you a mac :)

I wish! :D

(I opened an issue. I can try setting up a mac VM, I'm sure there are tutorials online)

@stephentoub

Copy link
Copy Markdown
Member

@dotnet-bot test this please

@stephentoub

Copy link
Copy Markdown
Member

@dotnet-bot test Innerloop netfx Windows_NT Release x64 Build and Test please

@stephentoub
stephentoub merged commit 02eac65 into dotnet:master May 10, 2017
@karelz karelz modified the milestone: 2.0.0 May 13, 2017
@hughbe
hughbe deleted the httplistener-test-fixes branch June 19, 2017 06:23
dotnet-maestro-bot pushed a commit to dotnet-maestro-bot/corefx that referenced this pull request Aug 23, 2018
…rmute4x64 for float, double overloads

Fixes dotnet#19579

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
jkotas pushed a commit that referenced this pull request Aug 23, 2018
…rmute4x64 for float, double overloads

Fixes #19579

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
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.

Several new HttpListener tests are failing in CI

8 participants