small adjustments to byte sizes in TestPackage zip-bomb tests to try fix test that fails on old-xerces harness

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842980 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2018-10-05 20:17:39 +00:00
parent 88fd68050f
commit 5baa52f86e

View File

@ -907,7 +907,7 @@ public final class TestPackage {
getZipStatsAndConsume((max_size, min_ratio) -> { getZipStatsAndConsume((max_size, min_ratio) -> {
// check max entry size ouf of bounds // check max entry size ouf of bounds
ZipSecureFile.setMinInflateRatio(min_ratio-0.002); ZipSecureFile.setMinInflateRatio(min_ratio-0.002);
ZipSecureFile.setMaxEntrySize(max_size-100); ZipSecureFile.setMaxEntrySize(max_size-200);
}); });
} }