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 5050public class VectorTileRestIT extends ESRestTestCase {
5151
5252 @ 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 ();
5858
5959 private static final String INDEX_POINTS = "index-points" ;
6060 private static final String INDEX_POLYGON = "index-polygon" ;
You can’t perform that action at this time.
0 commit comments