Ignore AOT-related deprecation warnings in Paketo system tests

Closes gh-37433
pull/37559/head
Scott Frederick 1 year ago
parent 7c11b6194b
commit c5e221143f

@ -298,6 +298,7 @@ class PaketoBuilderTests {
@EnabledForJreRange(max = JRE.JAVA_17) @EnabledForJreRange(max = JRE.JAVA_17)
void nativeApp() throws Exception { void nativeApp() throws Exception {
this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API"); this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API");
this.gradleBuild.expectDeprecationMessages("has been deprecated and marked for removal");
writeMainClass(); writeMainClass();
String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName(); String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName();
ImageReference imageReference = ImageReference.of(ImageName.of(imageName)); ImageReference imageReference = ImageReference.of(ImageName.of(imageName));

Loading…
Cancel
Save