You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may make more sense to split run into start and join and merge bind into start in order to have a clean way to give locally bound ports to tests from a start method which also helps guarantee in a way that the web server has started serving on the bound port with a listener before tests hit it.
The text was updated successfully, but these errors were encountered:
The impetus behind the change is to support adding monitoring endpoints with
an optional additional TCP listener. While refactoring the server it was
discovered that the run method moves the Server self, and so fixedbytecodealliance#112 to
also ensure that the API endpoint was running before tests could discover the
listener's locally bound port.
In addition a common cancellation token is added to the server to propagate
shutdown to both the core service as well as the API server endpoint. It can be
later used to support additional services later such as a monitoring
endpoint(s).
It may make more sense to split
run
intostart
andjoin
and mergebind
intostart
in order to have a clean way to give locally bound ports to tests from astart
method which also helps guarantee in a way that the web server has started serving on the bound port with a listener before tests hit it.The text was updated successfully, but these errors were encountered: