make t/lib/TableChunker.t non-non-deterministic

This commit is contained in:
Baron Schwartz
2012-06-06 12:16:25 -04:00
parent add06645d8
commit d2c63e1030

View File

@@ -507,11 +507,11 @@ SKIP: {
tbl => 'film',
chunk_size => '5k'
);
# This may fail because Rows and Avg_row_length can vary
# slightly for InnoDB tables.
ok(
$avg >= 173 && $avg <= 206,
"size_to_rows() returns avg row len in list context (173<=$avg<=206)"
# This will fail if we try to set a specific range, because Rows and
# Avg_row_length can vary slightly-to-greatly for InnoDB tables.
like(
$avg, qr/^\d+$/,
"size_to_rows() returns avg row len in list context ($avg)"
);
($size, $avg) = $c->size_to_rows(