There may only be a single restart during RestarterTests.testRestart()

See gh-4097 and changes in 2522a5f
This commit is contained in:
Andy Wilkinson 2016-02-12 16:41:43 +00:00
parent 85cc885fd1
commit ae08934e08
1 changed files with 1 additions and 1 deletions

View File

@ -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