From 33e328e03ddcd14d522a36e74688e90bd15efff5 Mon Sep 17 00:00:00 2001 From: Varun Jain Date: Fri, 10 Jan 2025 08:59:51 -0800 Subject: [PATCH] fix tests Signed-off-by: Varun Jain --- .../opensearch/neuralsearch/query/HybridQueryBuilderTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryBuilderTests.java b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryBuilderTests.java index c22d174ec..89f3459e1 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryBuilderTests.java +++ b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryBuilderTests.java @@ -595,6 +595,7 @@ public void testStreams_whenWrittingToStream_thenSuccessful() { } public void testHashAndEquals_whenSameOrIdenticalObject_thenReturnEqual() { + setUpClusterService(); HybridQueryBuilder hybridQueryBuilderBaseline = new HybridQueryBuilder(); hybridQueryBuilderBaseline.add( NeuralQueryBuilder.builder()