Browse Source

Disable system test that's broken due to a builder regression

0.4.292 of the builder launches an unpacked jar rather than the
script in bin. This only affects an image that uses the archive
generated by bootDistZip. An image that uses the archive generated
by distZip is not affected.

Closes gh-40803
3.1.x
Andy Wilkinson 2 years ago
parent
commit
6be5dbc034
  1. 2
      spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java

2
spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java

@ -32,6 +32,7 @@ import org.assertj.core.api.Condition; @@ -32,6 +32,7 @@ import org.assertj.core.api.Condition;
import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.TaskOutcome;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.EnabledForJreRange;
import org.junit.jupiter.api.condition.JRE;
@ -149,6 +150,7 @@ class PaketoBuilderTests { @@ -149,6 +150,7 @@ class PaketoBuilderTests {
}
@Test
@Disabled("0.4.292 of the builder launches an unpacked jar rather than the script in bin")
void bootDistZipJarApp() throws Exception {
writeMainClass();
String projectName = this.gradleBuild.getProjectDir().getName();

Loading…
Cancel
Save