We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7b7bd1 commit 4661a80Copy full SHA for 4661a80
src/test/java/com/fasterxml/jackson/databind/MapperFootprintTest.java
@@ -26,8 +26,9 @@ public void testMapperFootprint() throws InterruptedException {
26
GraphLayout mapperLayout = mapperLayoutA.totalSize() > mapperLayoutB.totalSize() ?
27
mapperLayoutB : mapperLayoutA;
28
29
+ final int maxByteSize = 20_000;
30
Assert.assertTrue(
- "ObjectMapper memory footprint exceeded limit. Footprint details: " + mapperLayout.toFootprint(),
31
- mapperLayout.totalSize() < 10000);
+ "ObjectMapper memory footprint exceeded limit ("+maxByteSize+"). Footprint details: " + mapperLayout.toFootprint(),
32
+ mapperLayout.totalSize() < maxByteSize);
33
}
34
0 commit comments