File tree 2 files changed +7
-2
lines changed
src/test/java/com/fasterxml/jackson/databind
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 195
195
</excludes >
196
196
</configuration >
197
197
</execution >
198
+ <!-- 29-Nov-2022, tatu: Too flaky, alas; do not run
198
199
<execution>
199
200
<id>footprint-test</id>
200
201
<goals>
206
207
<include>com.fasterxml.jackson.databind.MapperFootprintTest</include>
207
208
</includes>
208
209
</configuration>
209
- </execution >
210
+ </execution>
211
+ -->
210
212
</executions >
211
213
<configuration >
212
214
<classpathDependencyExcludes >
Original file line number Diff line number Diff line change @@ -26,9 +26,12 @@ public void testMapperFootprint() throws InterruptedException {
26
26
GraphLayout mapperLayout = mapperLayoutA .totalSize () > mapperLayoutB .totalSize () ?
27
27
mapperLayoutB : mapperLayoutA ;
28
28
29
+ // 29-Nov-2022, tatu: Should be under 10k, but... flakiness.
29
30
final int maxByteSize = 20_000 ;
30
31
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 (),
32
35
mapperLayout .totalSize () < maxByteSize );
33
36
}
34
37
}
You can’t perform that action at this time.
0 commit comments