diff --git a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java index 3bb73cb72c69b..683a782a12230 100644 --- a/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java +++ b/x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java @@ -96,7 +96,7 @@ import static org.elasticsearch.test.MapMatcher.assertMap; import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked; import static org.elasticsearch.xpack.esql.EsqlTestUtils.getValuesList; -import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.APPROXIMATION_V2; +import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.APPROXIMATION_V3; import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.EXPLAIN; import static org.elasticsearch.xpack.esql.action.EsqlQueryRequest.syncEsqlQueryRequest; import static org.hamcrest.Matchers.allOf; @@ -2522,7 +2522,7 @@ public void testExplainWithLookupJoin() { */ public void testExplainWithApproximation() { assumeTrue("EXPLAIN requires the capability to be enabled", EXPLAIN.isEnabled()); - assumeTrue("Approximation requires the capability to be enabled", APPROXIMATION_V2.isEnabled()); + assumeTrue("Approximation requires the capability to be enabled", APPROXIMATION_V3.isEnabled()); String indexName = "explain_approximation_test";