From 1580ede537ffe1db479590249ebfb3e5c6a72411 Mon Sep 17 00:00:00 2001 From: Siddhant Deshmukh Date: Wed, 18 Oct 2023 10:52:18 -0700 Subject: [PATCH] Fix build tests failure Signed-off-by: Siddhant Deshmukh --- .../opensearch/action/search/SearchQueryCategorizerTests.java | 2 +- .../java/org/opensearch/index/query/QueryShapeVisitorTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/test/java/org/opensearch/action/search/SearchQueryCategorizerTests.java b/server/src/test/java/org/opensearch/action/search/SearchQueryCategorizerTests.java index 30c9937c98abc..a2e301143d694 100644 --- a/server/src/test/java/org/opensearch/action/search/SearchQueryCategorizerTests.java +++ b/server/src/test/java/org/opensearch/action/search/SearchQueryCategorizerTests.java @@ -42,7 +42,7 @@ import static org.mockito.Mockito.times; import static org.mockito.Mockito.when; -final class SearchQueryCategorizerTests extends OpenSearchTestCase { +public final class SearchQueryCategorizerTests extends OpenSearchTestCase { private MetricsRegistry metricsRegistry; diff --git a/server/src/test/java/org/opensearch/index/query/QueryShapeVisitorTests.java b/server/src/test/java/org/opensearch/index/query/QueryShapeVisitorTests.java index 3c989bbe28595..18b814aec61c2 100644 --- a/server/src/test/java/org/opensearch/index/query/QueryShapeVisitorTests.java +++ b/server/src/test/java/org/opensearch/index/query/QueryShapeVisitorTests.java @@ -12,7 +12,7 @@ import static org.junit.Assert.assertEquals; -final class QueryShapeVisitorTests extends OpenSearchTestCase { +public final class QueryShapeVisitorTests extends OpenSearchTestCase { public void testQueryShapeVisitor() { QueryBuilder builder = new BoolQueryBuilder().must(new TermQueryBuilder("foo", "bar")) .filter(new ConstantScoreQueryBuilder(new RangeQueryBuilder("timestamp").from("12345677").to("2345678")))