Skip to content

Commit

Permalink
[CI] Mute failing tests for Windows
Browse files Browse the repository at this point in the history
Relates: elastic#73539
  • Loading branch information
ywangd committed Jun 3, 2021
1 parent e036378 commit 72b2847
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qa/smoke-test-plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Side Public License, v 1.
*/


import org.apache.tools.ant.taskdefs.condition.Os
import org.elasticsearch.gradle.internal.MavenFilteringHack
import org.elasticsearch.gradle.internal.info.BuildParams

Expand Down Expand Up @@ -39,3 +41,7 @@ tasks.named("processTestResources").configure {
inputs.properties(expansions)
MavenFilteringHack.filter(it, expansions)
}

if (Os.isFamily(Os.FAMILY_WINDOWS)) {
tasks.named("integTest").configure {enabled = false }
}
6 changes: 6 additions & 0 deletions x-pack/plugin/repository-encrypted/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.apache.tools.ant.taskdefs.condition.Os

evaluationDependsOn(xpackModule('core'))

apply plugin: 'elasticsearch.internal-es-plugin'
Expand All @@ -16,3 +18,7 @@ dependencies {
compileOnly project(path: xpackModule('core'))
testImplementation(testArtifact(project(xpackModule('core'))))
}

if (Os.isFamily(Os.FAMILY_WINDOWS)) {
tasks.named("internalClusterTest").configure {enabled = false }
}
5 changes: 5 additions & 0 deletions x-pack/plugin/repository-encrypted/qa/azure/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.apache.tools.ant.taskdefs.condition.Os

apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.java'
Expand All @@ -6,3 +7,7 @@ dependencies {
internalClusterTestImplementation testArtifact(project(':plugins:repository-azure'), 'internalClusterTest')
internalClusterTestImplementation testArtifact(project(':x-pack:plugin:repository-encrypted'), 'test')
}

if (Os.isFamily(Os.FAMILY_WINDOWS)) {
tasks.named("internalClusterTest").configure {enabled = false }
}
5 changes: 5 additions & 0 deletions x-pack/plugin/repository-encrypted/qa/gcs/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.apache.tools.ant.taskdefs.condition.Os

apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.java'
Expand All @@ -6,3 +7,7 @@ dependencies {
internalClusterTestImplementation testArtifact(project(':plugins:repository-gcs'), 'internalClusterTest')
internalClusterTestImplementation testArtifact(project(':x-pack:plugin:repository-encrypted'), 'test')
}

if (Os.isFamily(Os.FAMILY_WINDOWS)) {
tasks.named("internalClusterTest").configure {enabled = false }
}
5 changes: 5 additions & 0 deletions x-pack/plugin/repository-encrypted/qa/s3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import org.apache.tools.ant.taskdefs.condition.Os

apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'elasticsearch.java'
Expand All @@ -6,3 +7,7 @@ dependencies {
internalClusterTestImplementation testArtifact(project(':plugins:repository-s3'), 'internalClusterTest')
internalClusterTestImplementation testArtifact(project(':x-pack:plugin:repository-encrypted'), 'test')
}

if (Os.isFamily(Os.FAMILY_WINDOWS)) {
tasks.named("internalClusterTest").configure {enabled = false }
}

0 comments on commit 72b2847

Please sign in to comment.