mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-11 01:01:36 +08:00
Update modules and remove the $can_local_infile skips
This commit is contained in:
@@ -303,7 +303,6 @@ is_deeply(
|
||||
# #############################################################################
|
||||
my $tmpdir = '/tmp/mk-upgrade-res';
|
||||
SKIP: {
|
||||
skip "LOAD DATA LOCAL INFILE is disabled", 30 unless $can_load_data;
|
||||
|
||||
diag(`rm -rf $tmpdir 2>/dev/null; mkdir $tmpdir`);
|
||||
|
||||
@@ -727,7 +726,6 @@ is_deeply(
|
||||
);
|
||||
|
||||
SKIP: {
|
||||
skip "LOAD DATA LOCAL INFILE is disabled", 2 unless $can_load_data;
|
||||
|
||||
$cr = new CompareResults(
|
||||
method => 'rows',
|
||||
|
||||
@@ -186,7 +186,6 @@ cmp_ok(
|
||||
# Bug 903387: pt-archiver doesn't honor b=1 flag to create SQL_LOG_BIN statement
|
||||
# #############################################################################
|
||||
SKIP: {
|
||||
skip('LOAD DATA LOCAL INFILE is disabled', 3) if !$can_load_data;
|
||||
$sb->load_file('master', "t/pt-archiver/samples/bulk_regular_insert.sql");
|
||||
$sb->wait_for_slaves();
|
||||
|
||||
|
||||
@@ -22,9 +22,6 @@ my $dbh = $sb->get_dbh_for('master');
|
||||
if ( !$dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
elsif ( !$can_load_data ) {
|
||||
plan skip_all => 'LOAD DATA LOCAL INFILE is disabled';
|
||||
}
|
||||
|
||||
my $output;
|
||||
my $rows;
|
||||
|
||||
@@ -22,9 +22,6 @@ my $dbh = $sb->get_dbh_for('master');
|
||||
if ( !$dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
elsif ( !$can_load_data ) {
|
||||
plan skip_all => 'LOAD DATA LOCAL INFILE is disabled';
|
||||
}
|
||||
|
||||
my $output;
|
||||
my $cnf = "/tmp/12345/my.sandbox.cnf";
|
||||
|
||||
@@ -61,9 +61,6 @@ ok(
|
||||
'Report for multiple queries (checksum method)'
|
||||
);
|
||||
|
||||
SKIP: {
|
||||
skip "LOAD DATA LOCAL INFILE is disabled", 2 unless $can_load_data;
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
sub { pt_upgrade::main(@args, "$trunk/$sample/001/select-one.log",
|
||||
@@ -81,7 +78,6 @@ SKIP: {
|
||||
),
|
||||
'Report for multiple queries (rows method)'
|
||||
);
|
||||
}
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
|
||||
@@ -15,13 +15,6 @@ use PerconaTest;
|
||||
use Sandbox;
|
||||
require "$trunk/bin/pt-upgrade";
|
||||
|
||||
# This test calls pt-upgrade with --compare-results-method rows
|
||||
# which use LOAD DATA LOCAL INFILE. If LOAD DATA is disabled,
|
||||
# then this this test can't run.
|
||||
if ( !$can_load_data ) {
|
||||
plan skip_all => 'LOAD DATA LOCAL INFILE is disabled';
|
||||
}
|
||||
|
||||
# This runs immediately if the server is already running, else it starts it.
|
||||
diag(`$trunk/sandbox/start-sandbox master 12348 >/dev/null`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user