Skip to content

Commit b88760b

Browse files
committed
[test] disable packaging tests for suse boxes
1 parent fadad3c commit b88760b

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
@@ -547,7 +547,11 @@ class VagrantTestPlugin implements Plugin<Project> {
547547
project.gradle.removeListener(batsPackagingReproListener)
548548
}
549549
if (project.extensions.esvagrant.boxes.contains(box)) {
550-
packagingTest.dependsOn(batsPackagingTest)
550+
// these tests are temporarily disabled for suse boxes while we debug an issue
551+
// https://github.com/elastic/elasticsearch/issues/30295
552+
if (box.equals("opensuse-42") == false && box.equals("sles-12") == false) {
553+
packagingTest.dependsOn(batsPackagingTest)
554+
}
551555
}
552556
}
553557

@@ -586,7 +590,11 @@ class VagrantTestPlugin implements Plugin<Project> {
586590
project.gradle.removeListener(javaPackagingReproListener)
587591
}
588592
if (project.extensions.esvagrant.boxes.contains(box)) {
589-
packagingTest.dependsOn(javaPackagingTest)
593+
// these tests are temporarily disabled for suse boxes while we debug an issue
594+
// https://github.com/elastic/elasticsearch/issues/30295
595+
if (box.equals("opensuse-42") == false && box.equals("sles-12") == false) {
596+
packagingTest.dependsOn(javaPackagingTest)
597+
}
590598
}
591599

592600
/*

0 commit comments

Comments
 (0)