mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
PT-1554 Fixed tests for pt-osc
This commit is contained in:
@@ -53,7 +53,7 @@ my $num_rows = 1000;
|
|||||||
my $master_port = 12345;
|
my $master_port = 12345;
|
||||||
|
|
||||||
diag("Loading $num_rows into the table. This might take some time.");
|
diag("Loading $num_rows into the table. This might take some time.");
|
||||||
diag(`util/mysql_random_data_load_linux_amd64 --host=127.1 --port=$master_port --user=msandbox --password=msandbox employees t1 $num_rows`);
|
diag(`util/mysql_random_data_load --host=127.1 --port=$master_port --user=msandbox --password=msandbox employees t1 $num_rows`);
|
||||||
diag("$num_rows rows loaded. Starting tests.");
|
diag("$num_rows rows loaded. Starting tests.");
|
||||||
|
|
||||||
$master_dbh->do("FLUSH TABLES");
|
$master_dbh->do("FLUSH TABLES");
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ $sb->load_file('master3', "t/pt-online-schema-change/samples/pt-244.sql");
|
|||||||
|
|
||||||
my $num_rows = 1000;
|
my $num_rows = 1000;
|
||||||
diag("Loading $num_rows into the table. This might take some time.");
|
diag("Loading $num_rows into the table. This might take some time.");
|
||||||
diag(`util/mysql_random_data_load_linux_amd64 --host=127.1 --port=$master3_port --user=msandbox --password=msandbox test t3 $num_rows`);
|
diag(`util/mysql_random_data_load --host=127.1 --port=$master3_port --user=msandbox --password=msandbox test t3 $num_rows`);
|
||||||
diag("$num_rows rows loaded. Starting tests.");
|
diag("$num_rows rows loaded. Starting tests.");
|
||||||
|
|
||||||
$dbh3->do("FLUSH TABLES");
|
$dbh3->do("FLUSH TABLES");
|
||||||
|
|||||||
Reference in New Issue
Block a user