File tree Expand file tree Collapse file tree 2 files changed +32
-5
lines changed
src/test/java/com/fasterxml/jackson/databind Expand file tree Collapse file tree 2 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 181181 <groupId >org.apache.maven.plugins</groupId >
182182 <version >${version.plugin.surefire} </version >
183183 <artifactId >maven-surefire-plugin</artifactId >
184+ <executions >
185+ <execution >
186+ <id >default-test</id >
187+ <goals >
188+ <goal >test</goal >
189+ </goals >
190+ <phase >test</phase >
191+ <configuration >
192+ <excludes >
193+ <exclude >com.fasterxml.jackson.databind.MapperFootprintTest</exclude >
194+ <exclude >**/failing/**/*.java</exclude >
195+ </excludes >
196+ </configuration >
197+ </execution >
198+ <execution >
199+ <id >footprint-test</id >
200+ <goals >
201+ <goal >test</goal >
202+ </goals >
203+ <phase >test</phase >
204+ <configuration >
205+ <includes >
206+ <include >com.fasterxml.jackson.databind.MapperFootprintTest</include >
207+ </includes >
208+ </configuration >
209+ </execution >
210+ </executions >
184211 <configuration >
185212 <classpathDependencyExcludes >
186213 <exclude >javax.measure:jsr-275</exclude >
187214 </classpathDependencyExcludes >
188- <excludes >
189- <exclude >**/failing/**/*.java</exclude >
190- </excludes >
191215 <!-- 26-Nov-2019, tatu: moar parallelism! Per-class basis, safe, efficient enough
192216 ... although not 100% sure this makes much difference TBH
193217 -->
Original file line number Diff line number Diff line change 22
33import com .google .common .testing .GcFinalization ;
44import org .junit .Assert ;
5- import org .junit .Ignore ;
65import org .junit .Test ;
76import org .openjdk .jol .info .GraphLayout ;
87
98public class MapperFootprintTest {
9+ /*
10+ * Note: this class is run in an isolated execution in surefire. The test is too flaky with all the other tests
11+ * running in the same JVM.
12+ */
13+
1014 @ Test
11- @ Ignore
1215 public void testMapperFootprint () throws InterruptedException {
1316 // memory footprint limit for the ObjectMapper
1417
You can’t perform that action at this time.
0 commit comments