Skip to content

Commit

Permalink
WIP all sink tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffxiang committed Sep 26, 2024
1 parent bd41598 commit addce63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ public void commitTransaction() {}
public void flush() {}

@Override
public void close() {}
public void close() throws IOException {
super.close();
}
};
try (final PscCommitter committer = new PscCommitter(properties);
Recyclable<FlinkPscInternalProducer<Object, Object>> recyclable =
Expand All @@ -118,6 +120,7 @@ public void close() {}

committer.commit(Collections.singletonList(request));
assertThat(recyclable.isRecycled()).isTrue();
producer.close();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import static org.junit.Assert.assertEquals;

/**
* Tests for serializing and deserialzing {@link KafkaWriterState} with {@link
* KafkaWriterStateSerializer}.
* Tests for serializing and deserialzing {@link PscWriterState} with {@link
* PscWriterStateSerializer}.
*/
public class PscWriterStateSerializerTest extends TestLogger {

Expand Down

0 comments on commit addce63

Please sign in to comment.