From 070f3da31524ee0ca18e97e815e48edec2b8f679 Mon Sep 17 00:00:00 2001 From: Matt Peterson Date: Tue, 10 Sep 2024 14:35:11 -0600 Subject: [PATCH] fix: added additional call to test Signed-off-by: Matt Peterson --- .../block/server/mediator/LiveStreamMediatorImplTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/test/java/com/hedera/block/server/mediator/LiveStreamMediatorImplTest.java b/server/src/test/java/com/hedera/block/server/mediator/LiveStreamMediatorImplTest.java index 3ad002e01..8b995dc83 100644 --- a/server/src/test/java/com/hedera/block/server/mediator/LiveStreamMediatorImplTest.java +++ b/server/src/test/java/com/hedera/block/server/mediator/LiveStreamMediatorImplTest.java @@ -444,6 +444,9 @@ public void testMediatorBlocksPublishAfterException() throws IOException { // Confirm the error counter was incremented assertEquals(1, blockNodeContext.metricsService().get(LiveBlockStreamMediatorError).get()); + // Send another block item after the exception + streamMediator.publish(blockItems.get(1)); + final var subscribeStreamResponse = SubscribeStreamResponse.newBuilder().blockItem(firstBlockItem).build(); verify(streamObserver1, timeout(testTimeout).times(1))