mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-05 01:00:35 +08:00
PT-87 Added --skip-check-slave-lag to pt-table-checksum
This commit is contained in:
@@ -603,6 +603,26 @@ is(
|
||||
$master_dbh->do("DROP DATABASE IF EXISTS test");
|
||||
|
||||
|
||||
# Use the same data than the previous test
|
||||
$master_dbh->do("DROP DATABASE IF EXISTS test");
|
||||
|
||||
$sb->load_file('master', "$sample/bug-1613915.sql");
|
||||
$output = output(
|
||||
sub { pt_online_schema_change::main(@args, "$master_dsn,D=test,t=o1",
|
||||
'--execute',
|
||||
'--alter', "ADD COLUMN c INT",
|
||||
'--chunk-size', '10',
|
||||
'--skip-check-slave-lag', "h=127.0.0.1,P=".$sb->port_for('slave1'),
|
||||
),
|
||||
},
|
||||
);
|
||||
|
||||
$output = output(
|
||||
sub { pt_table_checksum::main(@args,
|
||||
'--skip-check-slave-lag', "h=127.0.0.1,P=".$sb->port_for('slave1'),
|
||||
),
|
||||
},
|
||||
);
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
||||
Reference in New Issue
Block a user