Skip to content

Commit b619788

Browse files
committed
Fix provided keystore packaging tests for wolfi
1 parent b8424d5 commit b619788

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qa/packaging/src/test/java/org/elasticsearch/packaging/test/DockerTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ public void test040JavaUsesTheOsProvidedKeystore() {
386386
if (distribution.packaging == Packaging.DOCKER_UBI || distribution.packaging == Packaging.DOCKER_IRON_BANK) {
387387
// In these images, the `cacerts` file ought to be a symlink here
388388
assertThat(path, equalTo("/etc/pki/ca-trust/extracted/java/cacerts"));
389+
} else if (distribution.packaging == Packaging.DOCKER_WOLFI) {
390+
// In these images, the `cacerts` file ought to be a symlink here
391+
assertThat(path, equalTo("/etc/ssl/certs/java/cacerts"));
389392
} else {
390393
// Whereas on other images, it's a real file so the real path is the same
391394
assertThat(path, equalTo("/usr/share/elasticsearch/jdk/lib/security/cacerts"));

0 commit comments

Comments
 (0)