BAEL-7374 - Added Back Unit test
This commit is contained in:
parent
21c3d8fdcc
commit
48a149956e
@ -76,7 +76,7 @@ public class StartStopConsumerUnitTest {
|
|||||||
this.userEventStore.clearUserEvents();
|
this.userEventStore.clearUserEvents();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@Test
|
@Test
|
||||||
void processMessages_whenListenerIsRestarted_thenCorrectNumberOfMessagesAreConsumed() throws ExecutionException, InterruptedException {
|
void processMessages_whenListenerIsRestarted_thenCorrectNumberOfMessagesAreConsumed() throws ExecutionException, InterruptedException {
|
||||||
kafkaListenerControlService.startListener(Constants.LISTENER_ID);
|
kafkaListenerControlService.startListener(Constants.LISTENER_ID);
|
||||||
|
|
||||||
@ -103,5 +103,5 @@ public class StartStopConsumerUnitTest {
|
|||||||
kafkaListenerControlService.startListener(Constants.LISTENER_ID);
|
kafkaListenerControlService.startListener(Constants.LISTENER_ID);
|
||||||
await().untilAsserted(() -> assertEquals(6, this.userEventStore.getUserEvents().size()));
|
await().untilAsserted(() -> assertEquals(6, this.userEventStore.getUserEvents().size()));
|
||||||
kafkaListenerControlService.stopListener(Constants.LISTENER_ID);
|
kafkaListenerControlService.stopListener(Constants.LISTENER_ID);
|
||||||
}*/
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user