mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00: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
|
||||
general_log
|
||||
general_log_file = genlog
|
||||
secure-file-priv =
|
||||
|
@@ -52,7 +52,7 @@ my $want = [
|
||||
key_len => 2,
|
||||
ref => 'const',
|
||||
rows => 1,
|
||||
Extra => $sandbox_version gt '5.6' ? undef : '',
|
||||
Extra => $sandbox_version eq '5.6' ? undef : '',
|
||||
},
|
||||
];
|
||||
if ( $sandbox_version gt '5.6' ) {
|
||||
|
@@ -105,7 +105,7 @@ ok(
|
||||
|
||||
$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(
|
||||
$row->[0] >= 75 && $row->[0] <= $max_rows,
|
||||
'Between 75 and 90 chunks on master'
|
||||
|
Reference in New Issue
Block a user