mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-23 21:05:00 +00:00
PT-2340 - Support MySQL 8.4
- Removed runtime.txt after discussion with Anastasia Alexandrova - Added "use VersionParser" into tests in t/lib when needed - Removed word master from tests for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary - Removed word slave from tests for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary - Updated modules for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary - Changed mysql_ssl patch, so it is now short option s - Added a check for existing zombies in t/pt-kill/execute_command.t - Added bin/pt-galera-log-explainer to .gitignore
This commit is contained in:
@@ -16,12 +16,13 @@ use PerconaTest;
|
||||
use Sandbox;
|
||||
require "$trunk/bin/pt-fk-error-logger";
|
||||
|
||||
require VersionParser;
|
||||
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';
|
||||
}
|
||||
|
||||
$sb->create_dbs($dbh, [qw(test)]);
|
||||
@@ -31,7 +32,7 @@ my $cnf = '/tmp/12345/my.sandbox.cnf';
|
||||
my $cmd = "$trunk/bin/pt-fk-error-logger -F $cnf ";
|
||||
my @args = qw(--iterations 1);
|
||||
|
||||
$sb->load_file('master', 't/pt-fk-error-logger/samples/fke_tbl.sql', 'test');
|
||||
$sb->load_file('source', 't/pt-fk-error-logger/samples/fke_tbl.sql', 'test');
|
||||
|
||||
# #########################################################################
|
||||
# Test saving foreign key errors to --dest.
|
||||
@@ -162,9 +163,9 @@ $dbh->do('DROP TABLE test.parent');
|
||||
# https://bugs.launchpad.net/percona-toolkit/+bug/1075773
|
||||
# #############################################################################
|
||||
diag(`$trunk/sandbox/stop-sandbox 12348 >/dev/null`);
|
||||
diag(`$trunk/sandbox/start-sandbox master 12348 >/dev/null`);
|
||||
diag(`$trunk/sandbox/start-sandbox source 12348 >/dev/null`);
|
||||
diag(`/tmp/12348/use -e "create database test"`);
|
||||
$sb->load_file('master1', 't/pt-fk-error-logger/samples/fke_tbl.sql', 'test');
|
||||
$sb->load_file('source1', 't/pt-fk-error-logger/samples/fke_tbl.sql', 'test');
|
||||
|
||||
$output = output(
|
||||
sub {
|
||||
|
Reference in New Issue
Block a user