Skip to content

Commit 31f2282

Browse files
committed
Fix up precious failures.
1 parent 50c32de commit 31f2282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Test/Class/Moose/Executor/Parallel.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ sub _test_class_is_parallelizable {
9797
'noparallel'
9898
);
9999
}
100-
$self->_test_methods_for($test_class);
101100
}
102101

103102
sub _run_test_classes_in_parallel {
@@ -131,10 +130,11 @@ sub _run_test_classes_in_parallel {
131130
# with Test2::AsyncSubtest::detach, and can potentially cascade into
132131
# all kinds of other problems during global destruction. i have no
133132
# idea how a grandchild death can end up running this code...
134-
if ($$ == $child_pid) {
133+
if ( $$ == $child_pid ) {
135134
$subtest->detach;
136135
$self->_fork_manager->finish( 0, \$class_report );
137-
} else {
136+
}
137+
else {
138138
warn "Ignoring unknown child pid $$, did a grandchild pid die?";
139139
}
140140
}

0 commit comments

Comments
 (0)