From d5d61c924fe1eae5e6c11fdf27c39da390bbdc4f Mon Sep 17 00:00:00 2001 From: Aurelien FOUCRET Date: Tue, 2 Jul 2024 12:42:17 +0200 Subject: [PATCH] Fix test errors. --- .../inference/ltr/LearningToRankRescorerBuilderRewriteTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/inference/ltr/LearningToRankRescorerBuilderRewriteTests.java b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/inference/ltr/LearningToRankRescorerBuilderRewriteTests.java index 484cb18dabd60..7266b165504d4 100644 --- a/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/inference/ltr/LearningToRankRescorerBuilderRewriteTests.java +++ b/x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/inference/ltr/LearningToRankRescorerBuilderRewriteTests.java @@ -240,7 +240,6 @@ public void testLegacyFieldValueExtractorBuildContext() throws Exception { assertNotNull(rescoreContext); assertThat(rescoreContext.getWindowSize(), equalTo(20)); List featureExtractors = rescoreContext.buildFeatureExtractors(context.searcher()); - assertThat(featureExtractors, hasSize(1)); assertThat(featureExtractors, hasSize(2));