Proper await for server stop #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To be able to properly test the server, it needs to be stopped/restarted between each test.
But, there is currently no way to know when the server is properly stop (from Spark).
Currently, I use a awfull Thread.sleep. This is not good. (as it might not be enough sometimes).
It seems that an awaitStop() method made its way into Spark.
But not released yet : https://github.com/perwendel/spark/pull/730/
mentioned in merge request !39
created merge request !39 to address this issue
mentioned in commit
4d73631547mentioned in commit
2a4c620cbcclosed via merge request !39
closed via commit
4d73631547