Skip to content

Fix HTTP::Server specs to use free ports in expectations#6530

Merged
sdogruyol merged 1 commit intocrystal-lang:masterfrom
straight-shoota:jm/feature/http-server-bind-tls
Aug 12, 2018
Merged

Fix HTTP::Server specs to use free ports in expectations#6530
sdogruyol merged 1 commit intocrystal-lang:masterfrom
straight-shoota:jm/feature/http-server-bind-tls

Conversation

@straight-shoota
Copy link
Copy Markdown
Member

The specs had hard coded ports which would make them fail if that particular port was already in use. With this change, a system-provided free port is used similar as in the socket specs.

Copy link
Copy Markdown
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

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

Thank you @straight-shoota 👍

@sdogruyol sdogruyol merged commit 89a7718 into crystal-lang:master Aug 12, 2018
@sdogruyol sdogruyol added this to the Next milestone Aug 12, 2018
@straight-shoota straight-shoota deleted the jm/feature/http-server-bind-tls branch August 13, 2018 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants