Skip to content

Commit

Permalink
fix: added additional call to test
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Peterson <[email protected]>
  • Loading branch information
mattp-swirldslabs committed Sep 10, 2024
1 parent c9f1d26 commit 070f3da
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 070f3da

Please sign in to comment.