Skip to content

Commit 9905ee9

Browse files
committed
Debug test for stopping whole process group
1 parent a0468f5 commit 9905ee9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

t/01_run.t

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,8 @@ subtest stop_whole_process_group_gracefully => sub {
498498
my $test_gpid = getpgrp(0);
499499
my $sub_process_pid = $sub_process->pid;
500500
sleep 0.1 while $test_gpid == getpgrp($sub_process_pid);
501+
note "test pid: $$, gpid: $test_gpid";
502+
note "sub process pid: $sub_process_pid, gpid: " . getpgrp($sub_process_pid);
501503

502504
$sub_process->stop();
503505
is $sub_process->is_running, 0, 'process is shut down via kill_whole_group';

0 commit comments

Comments
 (0)