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 181
181
<groupId >org.apache.maven.plugins</groupId >
182
182
<version >${version.plugin.surefire} </version >
183
183
<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 >
184
211
<configuration >
185
212
<classpathDependencyExcludes >
186
213
<exclude >javax.measure:jsr-275</exclude >
187
214
</classpathDependencyExcludes >
188
- <excludes >
189
- <exclude >**/failing/**/*.java</exclude >
190
- </excludes >
191
215
<!-- 26-Nov-2019, tatu: moar parallelism! Per-class basis, safe, efficient enough
192
216
... although not 100% sure this makes much difference TBH
193
217
-->
Original file line number Diff line number Diff line change 2
2
3
3
import com .google .common .testing .GcFinalization ;
4
4
import org .junit .Assert ;
5
- import org .junit .Ignore ;
6
5
import org .junit .Test ;
7
6
import org .openjdk .jol .info .GraphLayout ;
8
7
9
8
public 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
+
10
14
@ Test
11
- @ Ignore
12
15
public void testMapperFootprint () throws InterruptedException {
13
16
// memory footprint limit for the ObjectMapper
14
17
You can’t perform that action at this time.
0 commit comments