Package: libserver-starter-perl / 0.17-2

Metadata

Package Version Patches format
libserver-starter-perl 0.17-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Synchronize to PID in t 07 envdir.t.patch | (download)

t/07-envdir-print.pl | 3 2 + 1 - 0 !
t/07-envdir.t | 29 26 + 3 - 0 !
2 files changed, 28 insertions(+), 4 deletions(-)

 [patch 1/2] synchronize to pid in t/07-envdir.t
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The t/07-envdir.t used various sleeps to deal with races. This broke obviously
when the timing was abnormal like on have loaded machine. This patch
synchronizes on the status file by checking only the new worker is
running.

Similar to CPAN RT#73711.

Signed-off-by: Petr Písař <ppisar@redhat.com>

0002 Fix loading envdir.patch | (download)

lib/Server/Starter.pm | 31 22 + 9 - 0 !
1 file changed, 22 insertions(+), 9 deletions(-)

 [patch 2/2] fix loading envdir
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The envdir was scanned each second regardless of signal received. This
caused random failures of the 'removed env' t/07-envdir.t test.

This patch fixes it by loading the environment only just before
intended restart. It also documents this start_server() option.

Signed-off-by: Petr Písař <ppisar@redhat.com>

spelling.patch | (download)

lib/Server/Starter.pm | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix typo in pod
 introduced by previous patch