File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
x-pack/plugin/vector-tile/src/javaRestTest/java/org/elasticsearch/xpack/vectortile Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 50
50
public class VectorTileRestIT extends ESRestTestCase {
51
51
52
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 ();
53
+ public static ElasticsearchCluster cluster = ElasticsearchCluster .local (). module ( "vector-tile" ). apply ( c -> {
54
+ if ( Build . current (). isSnapshot ()) {
55
+ c .module ("test-error-query" );
56
+ }
57
+ }). setting ( "xpack.license.self_generated.type" , "trial" ) .build ();
58
58
59
59
private static final String INDEX_POINTS = "index-points" ;
60
60
private static final String INDEX_POLYGON = "index-polygon" ;
You can’t perform that action at this time.
0 commit comments