We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91c2984 + 42f50af commit 37118b6Copy full SHA for 37118b6
src/test/java/com/fasterxml/jackson/databind/MapperFootprintTest.java
@@ -26,9 +26,12 @@ public void testMapperFootprint() throws InterruptedException {
26
GraphLayout mapperLayout = mapperLayoutA.totalSize() > mapperLayoutB.totalSize() ?
27
mapperLayoutB : mapperLayoutA;
28
29
+ // 29-Nov-2022, tatu: Should be under 10k, but... flakiness.
30
final int maxByteSize = 20_000;
31
Assert.assertTrue(
- "ObjectMapper memory footprint exceeded limit ("+maxByteSize+"). Footprint details: " + mapperLayout.toFootprint(),
32
+ "ObjectMapper memory footprint ("+mapperLayout.totalSize()
33
+ +") exceeded limit ("+maxByteSize
34
+ +"). Footprint details: " + mapperLayout.toFootprint(),
35
mapperLayout.totalSize() < maxByteSize);
36
}
37
0 commit comments