Skip to content

Commit 30d6fd3

Browse files
committed
[test] disable packaging tests for suse boxes
For #30295
1 parent c375d5a commit 30d6fd3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,11 @@ class VagrantTestPlugin implements Plugin<Project> {
526526
project.gradle.removeListener(batsPackagingReproListener)
527527
}
528528
if (project.extensions.esvagrant.boxes.contains(box)) {
529-
packagingTest.dependsOn(batsPackagingTest)
529+
// these tests are temporarily disabled for suse boxes while we debug an issue
530+
// https://github.com/elastic/elasticsearch/issues/30295
531+
if (box.equals("opensuse-42") == false && box.equals("sles-12") == false) {
532+
packagingTest.dependsOn(batsPackagingTest)
533+
}
530534
}
531535
}
532536

@@ -565,7 +569,11 @@ class VagrantTestPlugin implements Plugin<Project> {
565569
project.gradle.removeListener(javaPackagingReproListener)
566570
}
567571
if (project.extensions.esvagrant.boxes.contains(box)) {
568-
packagingTest.dependsOn(javaPackagingTest)
572+
// these tests are temporarily disabled for suse boxes while we debug an issue
573+
// https://github.com/elastic/elasticsearch/issues/30295
574+
if (box.equals("opensuse-42") == false && box.equals("sles-12") == false) {
575+
packagingTest.dependsOn(javaPackagingTest)
576+
}
569577
}
570578

571579
/*

0 commit comments

Comments
 (0)