mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
PT-2340 - Support MySQL 8.4
- Updated modules and tests for pt-table-sync, pt-table-usage, pt-upgrade, pt-variable-advisor
This commit is contained in:
@@ -17,11 +17,11 @@ require "$trunk/bin/pt-variable-advisor";
|
||||
|
||||
my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||
my $dbh = $sb->get_dbh_for('master');
|
||||
my $dsn = $sb->dsn_for('master');
|
||||
my $dbh = $sb->get_dbh_for('source');
|
||||
my $dsn = $sb->dsn_for('source');
|
||||
|
||||
if ( !$dbh ) {
|
||||
plan skip_all => "Cannot connect to sandbox master";
|
||||
plan skip_all => "Cannot connect to sandbox source";
|
||||
}
|
||||
|
||||
# #############################################################################
|
||||
|
@@ -17,10 +17,10 @@ require "$trunk/bin/pt-variable-advisor";
|
||||
|
||||
my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||
my $dbh = $sb->get_dbh_for('master');
|
||||
my $dbh = $sb->get_dbh_for('source');
|
||||
|
||||
if ( !$dbh ) {
|
||||
plan skip_all => "Cannot connect to sandbox master";
|
||||
plan skip_all => "Cannot connect to sandbox source";
|
||||
}
|
||||
else {
|
||||
plan tests => 3;
|
||||
|
@@ -73,7 +73,7 @@ my ($output) = full_output(sub {
|
||||
|
||||
like(
|
||||
$output,
|
||||
qr/\Qdual-master or ring replication configuration?\E$/sm,
|
||||
qr/\Qdual-source or ring replication configuration?\E$/sm,
|
||||
"Sentences are delimited by . or ?"
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user