Skip to content

Commit

Permalink
[hotfix] [tests] Remove redundant test assertions
Browse files Browse the repository at this point in the history
These seem to be remainders of a copy/paste error.
  • Loading branch information
StephanEwen committed May 10, 2019
1 parent 8a76952 commit e5a6a94
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ public void testAddAfterFinish() throws Exception {

try {
subpartition.finish();
assertEquals(1, subpartition.getTotalNumberOfBuffers());
assertEquals(0, subpartition.getTotalNumberOfBytes()); // only updated after consuming the buffers

assertEquals(1, subpartition.getTotalNumberOfBuffers());
assertEquals(0, subpartition.getBuffersInBacklog());
assertEquals(0, subpartition.getTotalNumberOfBytes()); // only updated after consuming the buffers
Expand All @@ -85,8 +82,6 @@ public void testAddAfterRelease() throws Exception {

try {
subpartition.release();
assertEquals(0, subpartition.getTotalNumberOfBuffers());
assertEquals(0, subpartition.getTotalNumberOfBytes());

assertEquals(0, subpartition.getTotalNumberOfBuffers());
assertEquals(0, subpartition.getBuffersInBacklog());
Expand Down

0 comments on commit e5a6a94

Please sign in to comment.