From 6d10f496aab64043cd5cce25c962d4c870934c58 Mon Sep 17 00:00:00 2001 From: Nicholas Walter Knize Date: Wed, 2 Nov 2022 08:57:36 -0500 Subject: [PATCH] remove unused es warning check Signed-off-by: Nicholas Walter Knize --- .../org/opensearch/test/rest/OpenSearchRestTestCase.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/framework/src/main/java/org/opensearch/test/rest/OpenSearchRestTestCase.java b/test/framework/src/main/java/org/opensearch/test/rest/OpenSearchRestTestCase.java index 188014d0f8fc8..ec5a617adbde9 100644 --- a/test/framework/src/main/java/org/opensearch/test/rest/OpenSearchRestTestCase.java +++ b/test/framework/src/main/java/org/opensearch/test/rest/OpenSearchRestTestCase.java @@ -1004,12 +1004,6 @@ private static void updateIndexSettings(String index, Settings settings) throws } protected static void expectSoftDeletesWarning(Request request, String indexName) { - final List esExpectedWarnings = Collections.singletonList( - "Creating indices with soft-deletes disabled is deprecated and will be removed in future Elasticsearch versions. " - + "Please do not specify value for setting [index.soft_deletes.enabled] of index [" - + indexName - + "]." - ); final List opensearchExpectedWarnings = Collections.singletonList( "Creating indices with soft-deletes disabled is deprecated and will be removed in future OpenSearch versions. " + "Please do not specify value for setting [index.soft_deletes.enabled] of index ["