From f8631f3260bf05c741236b49598bbad8ae613a0b Mon Sep 17 00:00:00 2001 From: Siddhant Deshmukh Date: Mon, 9 Oct 2023 10:25:02 -0700 Subject: [PATCH] Minor fix Signed-off-by: Siddhant Deshmukh --- .../main/java/org/opensearch/test/AbstractBuilderTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework/src/main/java/org/opensearch/test/AbstractBuilderTestCase.java b/test/framework/src/main/java/org/opensearch/test/AbstractBuilderTestCase.java index 7a8cf4963c4f1..dc7f8e69d755e 100644 --- a/test/framework/src/main/java/org/opensearch/test/AbstractBuilderTestCase.java +++ b/test/framework/src/main/java/org/opensearch/test/AbstractBuilderTestCase.java @@ -322,7 +322,7 @@ protected static QueryShardContext createShardContext() { protected static QueryBuilderVisitor createTestVisitor(List visitedQueries) { return new QueryBuilderVisitor() { @Override - public void accept(QueryBuilder qb) { + public void accept(QueryBuilder qb, int level) { visitedQueries.add(qb); }