File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
x-pack/plugin/eql/qa/security
src/test/java/org/elasticsearch/xpack/eql Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ apply plugin: 'elasticsearch.standalone-rest-test'
55apply plugin : ' elasticsearch.rest-test'
66
77dependencies {
8- // testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
9- testCompile project(path : xpackModule(' eql' ), configuration : ' runtime' )
10- testCompile project(path : xpackModule(' eql:qa:common' ), configuration : ' runtime' )
11- testCompile project(' :x-pack:plugin:async-search:qa' )
8+ testImplementation project(path : xpackModule(' eql' ), configuration : ' runtime' )
9+ testImplementation project(path : xpackModule(' eql:qa:common' ), configuration : ' runtime' )
1210}
1311
1412testClusters. integTest {
Original file line number Diff line number Diff line change 77package org .elasticsearch .xpack .eql ;
88
99import org .apache .http .util .EntityUtils ;
10+ import org .elasticsearch .Build ;
1011import org .elasticsearch .client .Request ;
1112import org .elasticsearch .client .RequestOptions ;
1213import org .elasticsearch .client .Response ;
2324import org .elasticsearch .xpack .core .XPackPlugin ;
2425import org .elasticsearch .xpack .core .async .AsyncExecutionId ;
2526import org .junit .Before ;
27+ import org .junit .BeforeClass ;
2628
2729import java .io .IOException ;
2830import java .util .Map ;
3436import static org .hamcrest .Matchers .equalTo ;
3537
3638public class AsyncEqlSecurityIT extends ESRestTestCase {
39+
40+ @ BeforeClass
41+ public static void checkForSnapshot () {
42+ assumeTrue ("Only works on snapshot builds for now" , Build .CURRENT .isSnapshot ());
43+ }
44+
3745 /**
3846 * All tests run as a superuser but use <code>es-security-runas-user</code> to become a less privileged user.
3947 */
You can’t perform that action at this time.
0 commit comments