File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/test/java/com/fasterxml/jackson/databind Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 195195 </excludes >
196196 </configuration >
197197 </execution >
198+ <!-- 29-Nov-2022, tatu: Too flaky, alas; do not run
198199 <execution>
199200 <id>footprint-test</id>
200201 <goals>
206207 <include>com.fasterxml.jackson.databind.MapperFootprintTest</include>
207208 </includes>
208209 </configuration>
209- </execution >
210+ </execution>
211+ -->
210212 </executions >
211213 <configuration >
212214 <classpathDependencyExcludes >
Original file line number Diff line number Diff line change @@ -26,9 +26,12 @@ public void testMapperFootprint() throws InterruptedException {
2626 GraphLayout mapperLayout = mapperLayoutA .totalSize () > mapperLayoutB .totalSize () ?
2727 mapperLayoutB : mapperLayoutA ;
2828
29+ // 29-Nov-2022, tatu: Should be under 10k, but... flakiness.
2930 final int maxByteSize = 20_000 ;
3031 Assert .assertTrue (
31- "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 (),
3235 mapperLayout .totalSize () < maxByteSize );
3336 }
3437}
You can’t perform that action at this time.
0 commit comments