mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Adapt Paketo system tests to changes in the native buildpack
Closes gh-35355
This commit is contained in:
+4
-2
@@ -312,8 +312,10 @@ class PaketoBuilderTests {
|
||||
.contains("paketo-buildpacks/ca-certificates", "paketo-buildpacks/bellsoft-liberica",
|
||||
"paketo-buildpacks/executable-jar", "paketo-buildpacks/spring-boot",
|
||||
"paketo-buildpacks/native-image");
|
||||
metadata.processOfType("web").containsExactly("/workspace/example.ExampleApplication");
|
||||
metadata.processOfType("native-image").containsExactly("/workspace/example.ExampleApplication");
|
||||
metadata.processOfType("web")
|
||||
.satisfiesExactly((command) -> assertThat(command).endsWith("/example.ExampleApplication"));
|
||||
metadata.processOfType("native-image")
|
||||
.satisfiesExactly((command) -> assertThat(command).endsWith("/example.ExampleApplication"));
|
||||
});
|
||||
assertImageHasDependenciesSbomLayer(imageReference, config, "native-image");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user