viperproject / viperserver

HTTP server that manages verification requests to different tools from the Viper tool stack.
Other
10 stars 17 forks source link

Wait for Server Start #42

Closed ArquintL closed 3 years ago

ArquintL commented 3 years ago

I suspect that one of the reason for the failing viper-ide tests is that the IDE performs a POST request before the server is actually up and running. This PR changes the start function to return a future. This future is completed when the server is ready. Only then the server's port number will be output on standard output to indicate to clients that it is ready.