mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 00:21:56 +00:00
Call Sandbox::box() in all tests that use Sandbox.
This commit is contained in:
@@ -28,7 +28,7 @@ if ( !@{ $dbh->selectall_arrayref('show databases like "sakila"') } ) {
|
||||
plan skip_all => "Sakila database is not loaded";
|
||||
}
|
||||
else {
|
||||
plan tests => 8;
|
||||
plan tests => 9;
|
||||
}
|
||||
|
||||
my $cnf = '/tmp/12345/my.sandbox.cnf';
|
||||
@@ -139,4 +139,5 @@ is(
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
||||
exit;
|
||||
|
@@ -28,7 +28,7 @@ if ( !@{ $dbh->selectall_arrayref('show databases like "sakila"') } ) {
|
||||
plan skip_all => "Sakila database is not loaded";
|
||||
}
|
||||
else {
|
||||
plan tests => 17;
|
||||
plan tests => 18;
|
||||
}
|
||||
|
||||
my $cnf = '/tmp/12345/my.sandbox.cnf';
|
||||
@@ -365,4 +365,5 @@ SKIP: {
|
||||
# Done.
|
||||
# #############################################################################
|
||||
$sb->wipe_clean($dbh);
|
||||
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
||||
exit;
|
||||
|
Reference in New Issue
Block a user