Proper await for server stop #1

Closed
opened 2018-06-28 09:14:41 +00:00 by avernois · 7 comments
avernois commented 2018-06-28 09:14:41 +00:00 (Migrated from gitlab.com)

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).

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).
avernois commented 2018-06-28 09:15:48 +00:00 (Migrated from gitlab.com)

It seems that an awaitStop() method made its way into Spark.
But not released yet : https://github.com/perwendel/spark/pull/730/

It seems that an awaitStop() method made its way into Spark. But not released yet : https://github.com/perwendel/spark/pull/730/
avernois commented 2019-02-21 09:17:06 +00:00 (Migrated from gitlab.com)

mentioned in merge request !39

mentioned in merge request !39
avernois commented 2019-02-21 09:17:06 +00:00 (Migrated from gitlab.com)

created merge request !39 to address this issue

created merge request !39 to address this issue
avernois commented 2019-02-21 09:38:47 +00:00 (Migrated from gitlab.com)

mentioned in commit 4d73631547

mentioned in commit 4d73631547f27c19dc29e4cb44e407242187e0d5
avernois commented 2019-02-21 10:34:04 +00:00 (Migrated from gitlab.com)

mentioned in commit 2a4c620cbc

mentioned in commit 2a4c620cbcc40d745417aced9e9cf860575e1e88
avernois commented 2019-02-21 10:34:05 +00:00 (Migrated from gitlab.com)

closed via merge request !39

closed via merge request !39
avernois commented 2019-02-21 10:34:05 +00:00 (Migrated from gitlab.com)

closed via commit 4d73631547

closed via commit 4d73631547f27c19dc29e4cb44e407242187e0d5
Sign in to join this conversation.
No labels
Doing
To Do
api
test
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
avernois/pay_what_you_want#1
No description provided.