From ae08934e08fb89ee34f7215ac2267f1057a32028 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 12 Feb 2016 16:41:43 +0000 Subject: [PATCH] There may only be a single restart during RestarterTests.testRestart() See gh-4097 and changes in 2522a5f --- .../springframework/boot/devtools/restart/RestarterTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java b/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java index 314e354670..42d96b80ce 100644 --- a/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java +++ b/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/RestarterTests.java @@ -97,7 +97,7 @@ public class RestarterTests { String output = this.out.toString(); assertThat(StringUtils.countOccurrencesOf(output, "Tick 0")).isGreaterThan(1); assertThat(StringUtils.countOccurrencesOf(output, "Tick 1")).isGreaterThan(1); - assertThat(CloseCountingApplicationListener.closed).isGreaterThan(1); + assertThat(CloseCountingApplicationListener.closed).isGreaterThan(0); } @Test