Skip to content

Commit d793d5a

Browse files
committed
Work around intermittent failure caused by SPR-13079
See gh-4098
1 parent 6387f36 commit d793d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfigurationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ public void correctlyRecordsMetricsForFailedDeferredResultResponse() throws Exce
252252
.andReturn();
253253
latch.countDown();
254254
try {
255+
// Work around SPR-13079 which has not been fixed in 4.1.x
256+
result.getAsyncResult();
255257
mvc.perform(asyncDispatch(result));
256258
fail();
257259
}

0 commit comments

Comments
 (0)