mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 11:54:54 +00:00
make t/lib/TableChunker.t non-non-deterministic
This commit is contained in:
@@ -507,11 +507,11 @@ SKIP: {
|
|||||||
tbl => 'film',
|
tbl => 'film',
|
||||||
chunk_size => '5k'
|
chunk_size => '5k'
|
||||||
);
|
);
|
||||||
# This may fail because Rows and Avg_row_length can vary
|
# This will fail if we try to set a specific range, because Rows and
|
||||||
# slightly for InnoDB tables.
|
# Avg_row_length can vary slightly-to-greatly for InnoDB tables.
|
||||||
ok(
|
like(
|
||||||
$avg >= 173 && $avg <= 206,
|
$avg, qr/^\d+$/,
|
||||||
"size_to_rows() returns avg row len in list context (173<=$avg<=206)"
|
"size_to_rows() returns avg row len in list context ($avg)"
|
||||||
);
|
);
|
||||||
|
|
||||||
($size, $avg) = $c->size_to_rows(
|
($size, $avg) = $c->size_to_rows(
|
||||||
|
Reference in New Issue
Block a user