Skip to content

Commit 4661a80

Browse files
committed
Increase max size to check by MapperFootprintTest from 10k to 20k (due to flakiness of test)
1 parent b7b7bd1 commit 4661a80

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

+3-2
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)