Skip to content

Commit b23d7fe

Browse files
committed
Ignore deprecation warning caused by Framework
See gh-45501 See spring-projects/spring-framework#35557
1 parent f9d4589 commit b23d7fe

File tree

1 file changed

+3
-0
lines changed
  • system-test/spring-boot-image-system-tests/src/systemTest/java/org/springframework/boot/image/paketo

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,14 @@ void nativeApp() throws Exception {
312312
// these deprecations are from native image buildpacks
313313
this.gradleBuild.expectDeprecationMessages("Using a deprecated option --report-unsupported-elements-at-runtime",
314314
"The option is deprecated and will be removed in the future.");
315+
// this deprecation is from Framework (spring-projects/spring-framework#35557)
316+
this.gradleBuild.expectDeprecationMessages("Using a deprecated option --install-exit-handlers");
315317
writeMainClass();
316318
String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName();
317319
ImageReference imageReference = ImageReference.of(ImageName.of(imageName));
318320
BuildResult result = buildImage(imageName);
319321
assertThat(result.task(":bootBuildImage").getOutcome()).isEqualTo(TaskOutcome.SUCCESS);
322+
System.out.println(result.getOutput());
320323
assertThat(result.getOutput()).contains("Running creator");
321324
try (GenericContainer<?> container = new GenericContainer<>(imageName)) {
322325
container.withExposedPorts(8080);

0 commit comments

Comments
 (0)