File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
server/src/test/java/org/elasticsearch/common/settings Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 4040import java.util.function.Consumer;
4141import java.util.function.Function;
4242
43+ import static org.hamcrest.CoreMatchers.both;
4344import static org.hamcrest.CoreMatchers.containsString;
4445import static org.hamcrest.CoreMatchers.equalTo;
4546import static org.hamcrest.CoreMatchers.startsWith;
@@ -343,11 +344,8 @@ public void testValidateArchivedSetting() {
343344 );
344345 assertThat(
345346 e.getMessage(),
346- equalTo(
347- "unknown setting [archived.index.store.type] was archived after upgrading, and must be removed."
348- + " See [https://www.elastic.co/guide/en/elasticsearch/reference/8.19/"
349- + "deploy-manage/upgrade/deployment-or-cluster/archived-settings] "
350- + "for details."
347+ both(containsString("unknown setting [archived.index.store.type] was archived after upgrading, and must be removed.")).and(
348+ containsString("deploy-manage/upgrade/deployment-or-cluster/archived-settings")
351349 )
352350 );
353351
You can’t perform that action at this time.
0 commit comments