Skip to content

Commit

Permalink
Drop this convenience constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Dec 13, 2024
1 parent 5db39d3 commit c6b2d36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ public MountSnapshotStep(
this.totalShardsPerNode = totalShardsPerNode;
}

public MountSnapshotStep(
StepKey key,
StepKey nextStepKey,
Client client,
String restoredIndexPrefix,
MountSearchableSnapshotRequest.Storage storageType
) {
this(key, nextStepKey, client, restoredIndexPrefix, storageType, null);
}

@Override
public boolean isRetryable() {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ public void testPerformAction() throws Exception {
randomStepKey(),
client,
RESTORED_INDEX_PREFIX,
randomStorageType()
randomStorageType(),
null
);
performActionAndWait(step, indexMetadata, clusterState, null);
}
Expand Down Expand Up @@ -239,7 +240,8 @@ public void testResponseStatusHandling() throws Exception {
randomStepKey(),
clientPropagatingOKResponse,
RESTORED_INDEX_PREFIX,
randomStorageType()
randomStorageType(),
null
);
performActionAndWait(step, indexMetadata, clusterState, null);
}
Expand All @@ -254,7 +256,8 @@ public void testResponseStatusHandling() throws Exception {
randomStepKey(),
clientPropagatingACCEPTEDResponse,
RESTORED_INDEX_PREFIX,
randomStorageType()
randomStorageType(),
null
);
performActionAndWait(step, indexMetadata, clusterState, null);
}
Expand Down Expand Up @@ -328,7 +331,8 @@ private void doTestMountWithoutSnapshotIndexNameInState(String prefix) throws Ex
randomStepKey(),
client,
RESTORED_INDEX_PREFIX,
randomStorageType()
randomStorageType(),
null
);
performActionAndWait(step, indexMetadata, clusterState, null);
}
Expand Down

0 comments on commit c6b2d36

Please sign in to comment.