Skip to content

Commit

Permalink
Fixing broken UTs
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>
  • Loading branch information
sgup432 committed Mar 7, 2024
1 parent 4f58d5a commit b046c6f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
import org.opensearch.common.CheckedConsumer;
import org.opensearch.common.Nullable;
import org.opensearch.common.SetOnce;
import org.opensearch.common.cache.module.CacheModule;
import org.opensearch.common.network.NetworkModule;
import org.opensearch.common.settings.ClusterSettings;
import org.opensearch.common.settings.IndexScopedSettings;
Expand Down Expand Up @@ -239,6 +240,7 @@

import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
Expand Down Expand Up @@ -2073,7 +2075,7 @@ public void onFailure(final Exception e) {
null,
new RemoteStoreStatsTrackerFactory(clusterService, settings),
DefaultRecoverySettings.INSTANCE,
null
new CacheModule(new ArrayList<>(), settings).getCacheService()
);
final RecoverySettings recoverySettings = new RecoverySettings(settings, clusterSettings);
snapshotShardsService = new SnapshotShardsService(
Expand Down

0 comments on commit b046c6f

Please sign in to comment.