[Koha-bugs] [Bug 17814] koha-plack --stop should make sure that Plack really stop
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 10 04:58:03 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17814
--- Comment #5 from Pongtawat <pongtawat at punsarn.asia> ---
TEST PLAN
---------
1) Login to staff client and do something that will hold connection for a long
time, e.g. a batch import or a slow report.
2) sudo koha-plack --stop mykoha
3) ps aux | grep plack <-- a Plack process will still running work in 1)
4) wait for 1) to finish and all Plack processes exit
5) sudo koha-plack --start mykoha
6) apply the patch
7) repeat step 1)-2)
8) ps aux | grep plack <-- There should be no Plack process running now
9) Note that work in step 1) might get terminated midway. Since we force Plack
to stop after some wait.
Alternatively, I think we can test with --restart too. Before patch, it should
behave like in comment 3. After patch, it should restart properly.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list