We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c06cbb6 commit eaac8eeCopy full SHA for eaac8ee
x-pack/plugin/vector-tile/src/javaRestTest/java/org/elasticsearch/xpack/vectortile/VectorTileRestIT.java
@@ -50,11 +50,11 @@
50
public class VectorTileRestIT extends ESRestTestCase {
51
52
@ClassRule
53
- public static ElasticsearchCluster cluster = ElasticsearchCluster.local()
54
- .module("vector-tile")
55
- .module("test-error-query")
56
- .setting("xpack.license.self_generated.type", "trial")
57
- .build();
+ public static ElasticsearchCluster cluster = ElasticsearchCluster.local().module("vector-tile").apply(c -> {
+ if (Build.current().isSnapshot()) {
+ c.module("test-error-query");
+ }
+ }).setting("xpack.license.self_generated.type", "trial").build();
58
59
private static final String INDEX_POINTS = "index-points";
60
private static final String INDEX_POLYGON = "index-polygon";
0 commit comments