Skip to content

Commit ca6e972

Browse files
committed
Fix some tests.
1 parent 54ce1eb commit ca6e972

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3278,6 +3278,8 @@ private void assertEmptyEsRelation(LogicalPlan plan) {
32783278
}
32793279

32803280
public void testResolveRerankInferenceId() {
3281+
assumeTrue("Requires RERANK command", EsqlCapabilities.Cap.RERANK.isEnabled());
3282+
32813283
{
32823284
LogicalPlan plan = analyze(
32833285
" FROM books METADATA _score | RERANK \"italian food recipe\" ON title WITH \"reranking-inference-id\"",
@@ -3411,6 +3413,7 @@ public void testResolveRerankFields() {
34113413
}
34123414

34133415
public void testRerankRequiresScore() {
3416+
assumeTrue("Requires RERANK command", EsqlCapabilities.Cap.RERANK.isEnabled());
34143417

34153418
VerificationException ve = expectThrows(
34163419
VerificationException.class,

0 commit comments

Comments
 (0)