Skip to content

Commit dd93d27

Browse files
author
Aditi Goyal
committed
Updated the RemoteStoreRefreshListenerTests
1 parent 1de77c9 commit dd93d27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

server/src/test/java/org/opensearch/index/shard/RemoteStoreRefreshListenerTests.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ public void setup(boolean primary, int numberOfDocs) throws IOException {
9797
remoteStoreStatsTrackerFactory = new RemoteStoreStatsTrackerFactory(clusterService, Settings.EMPTY);
9898
remoteStoreStatsTrackerFactory.afterIndexShardCreated(indexShard);
9999
RemoteSegmentTransferTracker tracker = remoteStoreStatsTrackerFactory.getRemoteSegmentTransferTracker(indexShard.shardId());
100+
remoteUploaderService = new RemoteUploaderService(
101+
indexShard,
102+
SegmentReplicationCheckpointPublisher.EMPTY,
103+
tracker,
104+
DefaultRemoteStoreSettings.INSTANCE
105+
);
100106
remoteStoreRefreshListener = new RemoteStoreRefreshListener(
101107
indexShard,
102108
SegmentReplicationCheckpointPublisher.EMPTY,

0 commit comments

Comments
 (0)