summaryrefslogtreecommitdiff
path: root/mysql-test/lib/v1/mtr_process.pl
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2010-06-14 11:31:22 +0200
committerBjorn Munch <Bjorn.Munch@sun.com>2010-06-14 11:31:22 +0200
commitec1d665c645b3fb4d7b7d1c31cc7e89d684dc0f4 (patch)
treed84fa37cab5ef24c6243e99353d7b9892463c566 /mysql-test/lib/v1/mtr_process.pl
parent41c3732a75dad4872ccfcb61624e78a7bec8b944 (diff)
parentb18902fd59596bfc0b0a0417953bbd312be8bcaa (diff)
downloadmariadb-git-ec1d665c645b3fb4d7b7d1c31cc7e89d684dc0f4.tar.gz
Upmerge and port 46882
Diffstat (limited to 'mysql-test/lib/v1/mtr_process.pl')
-rw-r--r--mysql-test/lib/v1/mtr_process.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/lib/v1/mtr_process.pl b/mysql-test/lib/v1/mtr_process.pl
index 8fd900330da..4a4e342bff6 100644
--- a/mysql-test/lib/v1/mtr_process.pl
+++ b/mysql-test/lib/v1/mtr_process.pl
@@ -264,8 +264,9 @@ sub spawn_parent_impl {
if ( $timer_name eq "suite" )
{
# We give up here
- # FIXME we should only give up the suite, not all of the run?
print STDERR "\n";
+ kill(9, $pid); # Kill mysqltest
+ mtr_kill_leftovers(); # Kill servers the hard way
mtr_error("Test suite timeout");
}
elsif ( $timer_name eq "testcase" )