mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-26 01:02:25 +08:00
Add a check that sandbox servers are OK
This commit is contained in:
@@ -29,7 +29,7 @@ elsif ( !@{$dbh->selectcol_arrayref('SHOW DATABASES LIKE "sakila"')} ) {
|
|||||||
plan skip_all => 'sakila db not loaded';
|
plan skip_all => 'sakila db not loaded';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plan tests => 2;
|
plan tests => 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $cnf = '/tmp/12346/my.sandbox.cnf';
|
my $cnf = '/tmp/12346/my.sandbox.cnf';
|
||||||
@@ -99,4 +99,5 @@ waitpid ($pid, 0);
|
|||||||
# #############################################################################
|
# #############################################################################
|
||||||
# Done.
|
# Done.
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
|
ok($sb->ok(), "Sandbox servers") or BAIL_OUT(__FILE__ . " broke the sandbox");
|
||||||
exit;
|
exit;
|
||||||
|
|||||||
Reference in New Issue
Block a user