Skip to content

Commit

Permalink
Fixed build erros
Browse files Browse the repository at this point in the history
Signed-off-by: Kondaka <krishkdk@amazon.com>
  • Loading branch information
kkondaka committed Sep 16, 2024
1 parent 785b782 commit e1f8fcb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void test_run_success() throws Exception {

verify(bufferAccumulator).add(any(Record.class));
verify(bufferAccumulator).flush();
verify(acknowledgementSet).add(event);
verify(acknowledgementSet).add(event.getEventHandle());
verify(acknowledgementSet).complete();

verify(exportRecordsTotalCounter).increment();
Expand Down Expand Up @@ -198,7 +198,7 @@ void test_flush_failure_then_error_metric_updated() throws Exception {

verify(bufferAccumulator).add(any(Record.class));
verify(bufferAccumulator).flush();
verify(acknowledgementSet).add(event);
verify(acknowledgementSet).add(event.getEventHandle());
verify(acknowledgementSet, never()).complete();

verify(exportRecordsTotalCounter).increment();
Expand All @@ -213,4 +213,4 @@ private DataFileLoader createObjectUnderTest() {
return DataFileLoader.create(dataFilePartition, codec, buffer, s3ObjectReader, recordConverter,
pluginMetrics, sourceCoordinator, acknowledgementSet, acknowledgmentTimeout);
}
}
}

0 comments on commit e1f8fcb

Please sign in to comment.