Skip to content

Commit

Permalink
acknowledgments on case
Browse files Browse the repository at this point in the history
Signed-off-by: Santhosh Gandhe <[email protected]>
  • Loading branch information
san81 committed Jan 22, 2025
1 parent bc2449f commit 2589f1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ void testLeaderPartitionsCreation() throws InterruptedException {
String state = "{\"keyAttributes\":{\"project\":\"project-1\"},\"totalItems\":0,\"loadedItems\":20,\"exportStartTime\":1729391235717,\"itemIds\":[\"GTMS-25\",\"GTMS-24\"]}";
when(sourcePartitionStoreItem.getPartitionProgressState()).thenReturn(state);
when(sourcePartitionStoreItem.getSourceIdentifier()).thenReturn(sourceId);
when(sourceConfig.isAcknowledgments()).thenReturn(true);
when(acknowledgementSetManager.create(any(), any())).thenReturn(acknowledgementSet);
PartitionFactory factory = new PartitionFactory();
EnhancedSourcePartition sourcePartition = factory.apply(sourcePartitionStoreItem);
Expand Down

0 comments on commit 2589f1f

Please sign in to comment.