From d793d5abcb6814a0b74f07ab1adf733a62ffef22 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 6 Oct 2015 11:43:53 +0100 Subject: [PATCH] Work around intermittent failure caused by SPR-13079 See gh-4098 --- .../autoconfigure/MetricFilterAutoConfigurationTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfigurationTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfigurationTests.java index e8b4186a98..ce02fc469d 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfigurationTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/MetricFilterAutoConfigurationTests.java @@ -252,6 +252,8 @@ public class MetricFilterAutoConfigurationTests { .andReturn(); latch.countDown(); try { + // Work around SPR-13079 which has not been fixed in 4.1.x + result.getAsyncResult(); mvc.perform(asyncDispatch(result)); fail(); }