File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
src/test/java/org/elasticsearch/xpack/kql/query Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,6 @@ tests:
180
180
- class : org.elasticsearch.xpack.downsample.ILMDownsampleDisruptionIT
181
181
method : testILMDownsampleRollingRestart
182
182
issue : https://github.com/elastic/elasticsearch/issues/114233
183
- - class : org.elasticsearch.xpack.kql.query.KqlQueryBuilderTests
184
- issue : https://github.com/elastic/elasticsearch/issues/116487
185
183
- class : org.elasticsearch.reservedstate.service.FileSettingsServiceTests
186
184
method : testInvalidJSON
187
185
issue : https://github.com/elastic/elasticsearch/issues/116521
Original file line number Diff line number Diff line change 1
- import org.elasticsearch.gradle.internal.info.BuildParams
2
-
3
1
import static org.elasticsearch.gradle.util.PlatformUtils.normalize
4
2
5
3
apply plugin : ' elasticsearch.internal-es-plugin'
@@ -28,12 +26,6 @@ dependencies {
28
26
29
27
tasks. named(' yamlRestTest' ). configure {
30
28
usesDefaultDistribution()
31
-
32
- /* ***************************************************************
33
- * Enable QA/rest integration tests for snapshot builds only *
34
- * TODO: Enable for all builds upon this feature release *
35
- ****************************************************************/
36
- enabled = buildParams. isSnapshotBuild()
37
29
}
38
30
39
31
/* *********************************
Original file line number Diff line number Diff line change 8
8
package org .elasticsearch .xpack .kql .query ;
9
9
10
10
import org .apache .lucene .search .Query ;
11
+ import org .elasticsearch .Build ;
11
12
import org .elasticsearch .core .Strings ;
12
13
import org .elasticsearch .index .query .MultiMatchQueryBuilder ;
13
14
import org .elasticsearch .index .query .QueryBuilder ;
21
22
import org .elasticsearch .test .AbstractQueryTestCase ;
22
23
import org .elasticsearch .xpack .kql .KqlPlugin ;
23
24
import org .hamcrest .Matchers ;
25
+ import org .junit .BeforeClass ;
24
26
25
27
import java .io .IOException ;
26
28
import java .util .Collection ;
34
36
import static org .hamcrest .Matchers .nullValue ;
35
37
36
38
public class KqlQueryBuilderTests extends AbstractQueryTestCase <KqlQueryBuilder > {
39
+ @ BeforeClass
40
+ protected static void ensureSnapshotBuild () {
41
+ assumeTrue ("requires snapshot builds" , Build .current ().isSnapshot ());
42
+ }
37
43
38
44
@ Override
39
45
protected Collection <Class <? extends Plugin >> getPlugins () {
You can’t perform that action at this time.
0 commit comments