Skip to content

Commit b008fd2

Browse files
committed
Test fix
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
1 parent 364ca3c commit b008fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/opensearch/cluster/metadata/ResolvedIndicesTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void testWithLocalSubActions() {
129129
ResolvedIndices resolvedIndices = ResolvedIndices.of("a", "b", "c")
130130
.withLocalSubActions(DeleteIndexAction.INSTANCE, ResolvedIndices.Local.of("x", "y", "z"));
131131
assertThat(resolvedIndices.local().names(), containsInAnyOrder("a", "b", "c"));
132-
assertThat(resolvedIndices.local().subActions().get(DeleteIndexAction.INSTANCE).names(), containsInAnyOrder("x", "y", "z"));
132+
assertThat(resolvedIndices.local().subActions().get(DeleteIndexAction.NAME).names(), containsInAnyOrder("x", "y", "z"));
133133
}
134134

135135
public void testLocalOf() {

0 commit comments

Comments
 (0)