Commit f69ae3cf authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Disconnect to avoid "MySQL server has gone away"

parent 8e2b0f2f
......@@ -43,6 +43,9 @@ foreach my $long_mult_version (qw(LongMult_conf LongMultSt_conf LongMultWf_conf)
if ($with_beekeeper) {
my @beekeeper_cmd = ($ENV{'EHIVE_ROOT_DIR'}.'/scripts/beekeeper.pl', '-url', $hive_dba->dbc->url, '-loop', '-local');
# beekeeper can take a while and has its own DBConnection, it
# is better to close ours to avoid "MySQL server has gone away"
$hive_dba->dbc->disconnect_if_idle;
system(@beekeeper_cmd);
ok(!$?, 'beekeeper exited with the return code 0');
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment