[Rt-commit] r20035 - rt/3.8/trunk/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Fri Jun 19 16:33:03 EDT 2009
Author: ruz
Date: Fri Jun 19 16:33:03 2009
New Revision: 20035
Modified:
rt/3.8/trunk/lib/RT/Test.pm
Log:
* reconnect after inserting data, we can loose connection
Modified: rt/3.8/trunk/lib/RT/Test.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Test.pm (original)
+++ rt/3.8/trunk/lib/RT/Test.pm Fri Jun 19 16:33:03 2009
@@ -339,9 +339,8 @@
Test::More::ok($ret || $msg =~ /^Couldn't find ACLs/, "Created ACL: ".($msg||''));
($ret, $msg) = $RT::Handle->InsertData( File::Spec->catfile( $plugin->Path('etc'), 'initialdata' ) );
Test::More::ok($ret || $msg =~ /^Couldn't load data from/, "Inserted data: ".($msg||''));
+ $RT::Handle->Connect; # XXX: strange but mysql can loose connection
}
-
- $RT::Handle->Connect;
}
my @SERVERS;
More information about the Rt-commit
mailing list