Skip to content

Commit

Permalink
* Fix Flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
ag-ramachandran committed Dec 11, 2024
1 parent 11febbd commit 6c3c80f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,13 @@ public void handleRollFile(SourceFile fileDescriptor) {
continue;
}
}
IngestionStatus ingestionStatus = null;
if(ingestionResult!=null && ingestionResult.getIngestionStatusCollection()!=null
&& !ingestionResult.getIngestionStatusCollection().isEmpty()){
ingestionStatus = ingestionResult.getIngestionStatusCollection().get(0);
}
log.info("Kusto ingestion: file ({}) of size ({}) at current offset ({}) with status ({})",
fileDescriptor.path, fileDescriptor.rawBytes, currentOffset, ingestionResult.getIngestionStatusCollection().get(0));
fileDescriptor.path, fileDescriptor.rawBytes, currentOffset,ingestionStatus);
this.lastCommittedOffset = currentOffset;
return;
} catch (IngestionServiceException exception) {
Expand Down

0 comments on commit 6c3c80f

Please sign in to comment.