Skip to content

Commit 21406e7

Browse files
Merge branch '3.0.x'
Closes gh-35356
2 parents 9c37a8e + 0b2e16e commit 21406e7

File tree

1 file changed

+4
-2
lines changed
  • spring-boot-system-tests/spring-boot-image-tests/src/systemTest/java/org/springframework/boot/image/paketo

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,10 @@ void nativeApp() throws Exception {
312312
.contains("paketo-buildpacks/ca-certificates", "paketo-buildpacks/bellsoft-liberica",
313313
"paketo-buildpacks/executable-jar", "paketo-buildpacks/spring-boot",
314314
"paketo-buildpacks/native-image");
315-
metadata.processOfType("web").containsExactly("/workspace/example.ExampleApplication");
316-
metadata.processOfType("native-image").containsExactly("/workspace/example.ExampleApplication");
315+
metadata.processOfType("web")
316+
.satisfiesExactly((command) -> assertThat(command).endsWith("/example.ExampleApplication"));
317+
metadata.processOfType("native-image")
318+
.satisfiesExactly((command) -> assertThat(command).endsWith("/example.ExampleApplication"));
317319
});
318320
assertImageHasDependenciesSbomLayer(imageReference, config, "native-image");
319321
}

0 commit comments

Comments
 (0)