Switch bugs.t to use done_testing.

This commit is contained in:
Daniel Nichter
2012-07-27 11:52:24 -06:00
parent c25c79e119
commit 0fc84ff7c0

View File

@@ -41,9 +41,6 @@ elsif ( !$slave1_dbh ) {
elsif ( !$slave2_dbh ) {
plan skip_all => 'Cannot connect to sandbox slave2';
}
else {
plan tests => 10;
}
# The sandbox servers run with lock_wait_timeout=3 and it's not dynamic
# so we need to specify --lock-wait-timeout=3 else the tool will die.
@@ -183,4 +180,5 @@ is(
# #############################################################################
$sb->wipe_clean($master_dbh);
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
done_testing;
exit;