File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
modules/tribe/src/test/java/org/elasticsearch/tribe Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -216,9 +216,13 @@ public void testTribeNodeDeprecation() throws IOException {
216216 }
217217 try (Node node = new MockNode (settings .build (), MockTribePlugin .classpathPlugins )) {
218218 if (tribeServiceEnable ) {
219- assertWarnings ("tribe nodes are deprecated in favor of cross-cluster search and will be removed in Elasticsearch 7.0.0" );
219+ assertSettingDeprecationsAndWarnings (
220+ new Setting <?>[]{NetworkModule .HTTP_ENABLED },
221+ "tribe nodes are deprecated in favor of cross-cluster search and will be removed in Elasticsearch 7.0.0"
222+ );
220223 }
221224 }
225+ assertSettingDeprecationsAndWarnings (new Setting <?>[]{NetworkModule .HTTP_ENABLED });
222226 }
223227
224228 static class MergableCustomMetaData1 extends TestCustomMetaData
You can’t perform that action at this time.
0 commit comments