BAEL-7374 - Added Back Unit test

This commit is contained in:
Amol Gote 2024-02-10 21:17:49 -05:00
parent 21c3d8fdcc
commit 48a149956e
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ public class StartStopConsumerUnitTest {
this.userEventStore.clearUserEvents();
}
/*@Test
@Test
void processMessages_whenListenerIsRestarted_thenCorrectNumberOfMessagesAreConsumed() throws ExecutionException, InterruptedException {
kafkaListenerControlService.startListener(Constants.LISTENER_ID);
@ -103,5 +103,5 @@ public class StartStopConsumerUnitTest {
kafkaListenerControlService.startListener(Constants.LISTENER_ID);
await().untilAsserted(() -> assertEquals(6, this.userEventStore.getUserEvents().size()));
kafkaListenerControlService.stopListener(Constants.LISTENER_ID);
}*/
}
}