From c5e221143f7b049f5e715407848ab1bff644f867 Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Thu, 21 Sep 2023 12:33:02 -0500 Subject: [PATCH] Ignore AOT-related deprecation warnings in Paketo system tests Closes gh-37433 --- .../springframework/boot/image/paketo/PaketoBuilderTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java index 1778b5d8b7..a6b75a03f7 100644 --- a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java +++ b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java @@ -298,6 +298,7 @@ class PaketoBuilderTests { @EnabledForJreRange(max = JRE.JAVA_17) void nativeApp() throws Exception { this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API"); + this.gradleBuild.expectDeprecationMessages("has been deprecated and marked for removal"); writeMainClass(); String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName(); ImageReference imageReference = ImageReference.of(ImageName.of(imageName));