Skip to content

Commit 587382c

Browse files
committed
Merge branch '2.14' into 2.15
2 parents 205d7c8 + 4661a80 commit 587382c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/com/fasterxml/jackson/databind/MapperFootprintTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ public void testMapperFootprint() throws InterruptedException {
2626
GraphLayout mapperLayout = mapperLayoutA.totalSize() > mapperLayoutB.totalSize() ?
2727
mapperLayoutB : mapperLayoutA;
2828

29+
final int maxByteSize = 20_000;
2930
Assert.assertTrue(
30-
"ObjectMapper memory footprint exceeded limit. Footprint details: " + mapperLayout.toFootprint(),
31-
mapperLayout.totalSize() < 10000);
31+
"ObjectMapper memory footprint exceeded limit ("+maxByteSize+"). Footprint details: " + mapperLayout.toFootprint(),
32+
mapperLayout.totalSize() < maxByteSize);
3233
}
3334
}

0 commit comments

Comments
 (0)