Commit 549f8739 authored by Andy Wilkinson's avatar Andy Wilkinson

Update RestarterTests to expect listener to be notified at least once

parent eaa4d900
......@@ -96,7 +96,7 @@ public class RestarterTests {
String output = this.out.toString();
assertThat(StringUtils.countOccurrencesOf(output, "Tick 0"), greaterThan(1));
assertThat(StringUtils.countOccurrencesOf(output, "Tick 1"), greaterThan(1));
assertThat(TestRestartListener.restarts, greaterThan(1));
assertThat(TestRestartListener.restarts, greaterThan(0));
}
@Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment