X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Ffactory_fork.t;h=ea6fd6efcc294a962d483295a708edac869a0a9f;hb=fa394969469fd18a6d99798ae0769e160c7e0e56;hp=30e1c6fbe44abc35f2e3d559c0bb7dd62a458991;hpb=2ff179e22bca6e8b7c3cb131e234ce2ce8996113;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/factory_fork.t b/t/storage/factory_fork.t index 30e1c6f..ea6fd6e 100644 --- a/t/storage/factory_fork.t +++ b/t/storage/factory_fork.t @@ -34,9 +34,12 @@ for my $type (qw/PG MYSQL/) { skip "Fork failed: $!", 1 if (! defined $pid); if ($pid) { - sleep 1; + note "Parent $$ sleeping..."; + wait(); + note "Parent $$ woken up after child $pid exit"; } else { + note "Child $$ terminating"; exit 0; }