File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
x-pack/plugin/inference/src/yamlRestTest/java/org/elasticsearch/xpack/inference Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ public class InferenceRestIT extends ESClientYamlSuiteTestCase {
42
42
public InferenceRestIT (final ClientYamlTestCandidate testCandidate ) {
43
43
super (testCandidate );
44
44
String testPath = testCandidate .getTestPath ();
45
- if (testPath .startsWith ("inference/70_text_similarity_rank_retriever" ) && testPath .toLowerCase (Locale .ROOT ).contains ("snippet" )) {
45
+ if (testPath .startsWith ("inference/70_text_similarity_rank_retriever" )
46
+ && (testPath .toLowerCase (Locale .ROOT ).contains ("snippet" ) || testPath .toLowerCase (Locale .ROOT ).contains ("chunk_rescorer" ))) {
46
47
assumeTrue ("Rerank snippets does not work in release builds" , Build .current ().isSnapshot ());
47
48
}
48
49
}
You can’t perform that action at this time.
0 commit comments