We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc1890 commit d203570Copy full SHA for d203570
x-pack/plugin/async-search/build.gradle
@@ -1,3 +1,5 @@
1
+import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask
2
+
3
apply plugin: 'elasticsearch.internal-es-plugin'
4
apply plugin: 'elasticsearch.internal-cluster-test'
5
apply plugin: 'elasticsearch.internal-java-rest-test'
@@ -34,3 +36,8 @@ restResources {
34
36
include '_common', 'indices', 'index', 'async_search'
35
37
}
38
39
40
+tasks.withType(StandaloneRestIntegTestTask).configureEach {
41
+ def isSnapshot = buildParams.snapshotBuild
42
+ it.onlyIf("snapshot build") { isSnapshot }
43
+}
0 commit comments