From 28f3d67540a870ce16d55e8153717163b0019658 Mon Sep 17 00:00:00 2001 From: Albert Zaharovits Date: Tue, 3 Sep 2024 19:29:22 +0300 Subject: [PATCH] Test fix --- .../cluster/metadata/MetadataCreateIndexServiceTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java b/server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java index b0027fc38f4b5..01394a7abbcd5 100644 --- a/server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java +++ b/server/src/test/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexServiceTests.java @@ -1421,6 +1421,6 @@ private List validateShrinkIndex(ClusterState state, String sourceIndex, } private void validateSplitIndex(ClusterState state, String sourceIndex, String targetIndexName, Settings targetIndexSettings) { - MetadataCreateIndexService.validateSplitIndex(state.metadata(), state.blocks(), "target", "source", targetIndexSettings); + MetadataCreateIndexService.validateSplitIndex(state.metadata(), state.blocks(), sourceIndex, targetIndexName, targetIndexSettings); } }