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

Fix failing HttpListener tests #19579

Merged
merged 2 commits into from
May 10, 2017
Merged

Fix failing HttpListener tests #19579

merged 2 commits into from
May 10, 2017

Conversation

hughbe
Copy link

@hughbe hughbe commented May 10, 2017

  • 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
Member

@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
Copy link
Author

hughbe commented May 10, 2017

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
Member

We need to purchase you a mac :)

@hughbe
Copy link
Author

hughbe commented May 10, 2017

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
Member

@dotnet-bot test this please

@stephentoub
Copy link
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