Skip to content

Commit

Permalink
Forgot to add the new param to one request
Browse files Browse the repository at this point in the history
  • Loading branch information
parkertimmins committed Jan 10, 2025
1 parent b9e85dd commit b8a257f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,10 @@ public void testUpdateSettingsDefaultsRestored() {
assertAcked(indicesAdmin().create(new CreateIndexRequest(sourceIndex)));

// call reindex
var destIndex = client().execute(ReindexDataStreamIndexAction.INSTANCE, new ReindexDataStreamIndexAction.Request(sourceIndex))
.actionGet()
.getDestIndex();
var destIndex = client().execute(
ReindexDataStreamIndexAction.INSTANCE,
new ReindexDataStreamIndexAction.Request(sourceIndex, EnumSet.noneOf(IndexMetadata.APIBlock.class))
).actionGet().getDestIndex();

var settingsResponse = indicesAdmin().getSettings(new GetSettingsRequest().indices(sourceIndex, destIndex)).actionGet();
var destSettings = settingsResponse.getIndexToSettings().get(destIndex);
Expand Down

0 comments on commit b8a257f

Please sign in to comment.