There may only be a single restart during RestarterTests.testRestart()
See gh-4097 and changes in 2522a5f
This commit is contained in:
parent
85cc885fd1
commit
ae08934e08
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue