Skip to content

Commit

Permalink
Change IRC UT to correctly create shard
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Alfonsi <[email protected]>
  • Loading branch information
Peter Alfonsi committed Sep 3, 2024
1 parent 9c4d4af commit c5fd7fe
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1369,12 +1369,8 @@ public void testDeleteAndCreateIndexShardOnSameNodeAndVerifyStats() throws Excep
s -> {},
RetentionLeaseSyncer.EMPTY,
SegmentReplicationCheckpointPublisher.EMPTY,
null,
null,
localNode,
null,
DiscoveryNodes.builder().add(localNode).build()
);
null
); // In 2.11 this fn lacks some arguments that were present in 2.15. Assuming it can read the node from the routing

// Verify that the new shard requestStats entries are empty.
stats = indexShard.requestCache().stats();
Expand Down

0 comments on commit c5fd7fe

Please sign in to comment.