Skip to content

Commit f092b42

Browse files
authored
[8.9] Run VectorTileRestIT#testPartialResult only on snapshot builds (#98825) (#98826)
* Run VectorTileRestIT#testPartialResult only on snapshot builds (#98825) * Fix compile error
1 parent 5440348 commit f092b42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/vector-tile/src/javaRestTest/java/org/elasticsearch/xpack/vectortile/VectorTileRestIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import org.apache.http.client.methods.HttpGet;
1515
import org.apache.http.client.methods.HttpPost;
1616
import org.apache.http.client.methods.HttpPut;
17+
import org.elasticsearch.Build;
1718
import org.elasticsearch.client.Request;
1819
import org.elasticsearch.client.Response;
1920
import org.elasticsearch.client.ResponseException;
@@ -930,6 +931,7 @@ public void testGetRuntimeField() throws Exception {
930931
}
931932

932933
public void testPartialResult() throws Exception {
934+
assumeTrue("[error_query] is only available in snapshot builds", Build.CURRENT.isSnapshot());
933935
final Request mvtRequest = new Request(getHttpMethod(), INDEX_POINTS_SHAPES + "/_mvt/location/" + z + "/" + x + "/" + y);
934936
mvtRequest.setJsonEntity("""
935937
{

0 commit comments

Comments
 (0)