Skip to content

Commit 42f50af

Browse files
committed
Disable MapperFootprintTest from CI
1 parent dc813be commit 42f50af

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
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>
@@ -206,7 +207,8 @@
206207
<include>com.fasterxml.jackson.databind.MapperFootprintTest</include>
207208
</includes>
208209
</configuration>
209-
</execution>
210+
</execution>
211+
-->
210212
</executions>
211213
<configuration>
212214
<classpathDependencyExcludes>

src/test/java/com/fasterxml/jackson/databind/MapperFootprintTest.java

+4-1
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)