Skip to content

Commit a4d9d33

Browse files
committed
[test] don't run bats tests for suse boxes (#31749)
These are temporarily not run as part of the packagingTest task but can still be run by running the task directly
1 parent 04cd704 commit a4d9d33

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,11 @@ class VagrantTestPlugin implements Plugin<Project> {
391391
project.gradle.removeListener(batsPackagingReproListener)
392392
}
393393
if (project.extensions.esvagrant.boxes.contains(box)) {
394-
packagingTest.dependsOn(batsPackagingTest)
394+
// these tests are temporarily disabled for suse boxes while we debug an issue
395+
// https://github.com/elastic/elasticsearch/issues/30295
396+
if (box.equals("opensuse-42") == false && box.equals("sles-12") == false) {
397+
packagingTest.dependsOn(batsPackagingTest)
398+
}
395399
}
396400

397401
// This task doesn't do anything yet. In the future it will execute a jar containing tests on the vm

0 commit comments

Comments
 (0)