Stop initiators in the end of test
JIRA: https://jira.spring.io/browse/INT-4246
This commit is contained in:
@@ -164,6 +164,9 @@ public class LockRegistryLeaderInitiatorTests {
|
||||
assertThat(first.getContext().isLeader(), is(false));
|
||||
assertThat(secondGranted.await(10, TimeUnit.SECONDS), is(true));
|
||||
assertThat(firstRevoked.await(10, TimeUnit.SECONDS), is(true));
|
||||
|
||||
first.stop();
|
||||
second.stop();
|
||||
}
|
||||
|
||||
private static class CountingPublisher implements LeaderEventPublisher {
|
||||
|
||||
Reference in New Issue
Block a user