-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(server): set port before instantiating server #2143
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2143 +/- ##
=======================================
Coverage 93.91% 93.91%
=======================================
Files 33 33
Lines 1265 1265
Branches 361 361
=======================================
Hits 1188 1188
Misses 71 71
Partials 6 6 Continue to review full report at Codecov.
|
3acd2f0
to
3b6cc69
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This solution looks good to me, just one note. @evilebottnawi Unfortunately, this problem will make it difficult, or maybe impossible, to move |
The failed tests are related to a "page crashed" error that seems to be unrelated to my code changes. |
Looks good to me. |
Anybody know why one of the azure checks is still pending? When I go to Azure it says that everything passed. Is it because a commit on master isn't merged into this branch? I'm trying out merging master into this branch again. |
@joeldenning It looks like a Page crashed issue. Not your fault, there is still some instability with the e2e tests here. Your PR can still be merged if a couple CI builds are failing/timing out for this particular reason since your changes are not causing it. |
All checks are now passing, after merging master in to retrigger the build. Time to merge? |
@evilebottnawi could you merge this? |
For Bugs and Features; did you add new tests?
Yes
Motivation / Use-Case
This resolves #2142.
Breaking Changes
No breaking changes.
Additional Info
The reason this fixes the bug is that we are setting
options.port
before callingnew Server()
instead of afterwards. The constructor in Server calls function that need the port to already be present.