Skip to content

Commit

Permalink
Add test for coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Chase Engelbrecht <[email protected]>
  • Loading branch information
engechas committed Oct 9, 2023
1 parent 0dfed1f commit 2ec4a27
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ public void testGetDrainTimeout() {

Assert.assertEquals(Duration.ZERO, buffer.getDrainTimeout());
}

@Test
public void testShutdown() {
final Buffer<Record<Event>> buffer = spy(Buffer.class);
buffer.shutdown();
}
}

0 comments on commit 2ec4a27

Please sign in to comment.