-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore(test): Test Remix and NextJS SDKs on Node 20. #8577
Conversation
72dfd7c
to
a9368dd
Compare
size-limit report 📦
|
c0a059f
to
4e466c2
Compare
}, options.timeout || 1000); | ||
}); | ||
} | ||
|
||
private _closeServer(): Promise<void> { | ||
return this._terminator.terminate(); |
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.
just to be clear, do we not need to call this.server.close()
anymore, is that handled by the terminator?
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.
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.
👍
4e466c2
to
6ae5375
Compare
3d3812e
to
5f6316b
Compare
Resolves: #7906
Made updates about test server termination. Integrated
http-terminator
as closing all sockets / cancelling pending requests and such produced plenty of maintenance code.Also, found out that
portfinder
does not work well in Node 20, and causes flakiness. Removed it from Remix and NextJS tests, as it can be replaced withapp.listen(0, ...)
.