Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.xpack.esql.VerificationException;
import org.elasticsearch.xpack.esql.action.AbstractEsqlIntegTestCase;
import org.elasticsearch.xpack.esql.action.EsqlCapabilities;
import org.junit.Before;

import java.util.List;
Expand Down Expand Up @@ -105,7 +104,6 @@ public void testNotWhereMatch() {
}

public void testWhereMatchWithScoring() {
assumeTrue("'METADATA _score' is disabled", EsqlCapabilities.Cap.METADATA_SCORE.isEnabled());
var query = """
FROM test
METADATA _score
Expand All @@ -122,7 +120,7 @@ public void testWhereMatchWithScoring() {
}

public void testWhereMatchWithScoringDifferentSort() {
assumeTrue("'METADATA _score' is disabled", EsqlCapabilities.Cap.METADATA_SCORE.isEnabled());

var query = """
FROM test
METADATA _score
Expand All @@ -139,7 +137,6 @@ public void testWhereMatchWithScoringDifferentSort() {
}

public void testWhereMatchWithScoringSortScore() {
assumeTrue("'METADATA _score' is disabled", EsqlCapabilities.Cap.METADATA_SCORE.isEnabled());
var query = """
FROM test
METADATA _score
Expand All @@ -156,7 +153,6 @@ public void testWhereMatchWithScoringSortScore() {
}

public void testWhereMatchWithScoringNoSort() {
assumeTrue("'METADATA _score' is disabled", EsqlCapabilities.Cap.METADATA_SCORE.isEnabled());
var query = """
FROM test
METADATA _score
Expand Down