mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-26 01:02:25 +08:00
PT-142 Fixed tests for MySQL 5.6
This commit is contained in:
@@ -26,3 +26,4 @@ log-error = /tmp/PORT/data/mysqld.log
|
|||||||
innodb_lock_wait_timeout = 3
|
innodb_lock_wait_timeout = 3
|
||||||
general_log
|
general_log
|
||||||
general_log_file = genlog
|
general_log_file = genlog
|
||||||
|
secure-file-priv =
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ my $want = [
|
|||||||
key_len => 2,
|
key_len => 2,
|
||||||
ref => 'const',
|
ref => 'const',
|
||||||
rows => 1,
|
rows => 1,
|
||||||
Extra => $sandbox_version gt '5.6' ? undef : '',
|
Extra => $sandbox_version eq '5.6' ? undef : '',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
if ( $sandbox_version gt '5.6' ) {
|
if ( $sandbox_version gt '5.6' ) {
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ ok(
|
|||||||
|
|
||||||
$row = $master_dbh->selectrow_arrayref("select count(*) from percona.checksums");
|
$row = $master_dbh->selectrow_arrayref("select count(*) from percona.checksums");
|
||||||
|
|
||||||
my $max_rows = $sandbox_version < '5.7' ? 75 : 100;
|
my $max_rows = $sandbox_version < '5.7' ? 90 : 100;
|
||||||
ok(
|
ok(
|
||||||
$row->[0] >= 75 && $row->[0] <= $max_rows,
|
$row->[0] >= 75 && $row->[0] <= $max_rows,
|
||||||
'Between 75 and 90 chunks on master'
|
'Between 75 and 90 chunks on master'
|
||||||
|
|||||||
Reference in New Issue
Block a user