diff --git a/lib/Test2/Harness/Scheduler.pm b/lib/Test2/Harness/Scheduler.pm index 1a71cf031..17fb488c2 100644 --- a/lib/Test2/Harness/Scheduler.pm +++ b/lib/Test2/Harness/Scheduler.pm @@ -307,6 +307,9 @@ sub abort { CORE::kill('TERM', $pid); $job->{killed} = 1; } + + # Also just exit the entire process, as BAIL_OUT means you should exit + $self->terminate(1); } sub kill {