Fix integration test with updated file perms (#11916)

This commit is contained in:
Chris S. Kim 2021-12-23 19:00:02 -05:00 committed by GitHub
parent 5e6c934135
commit d85d16a0c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -37,4 +37,8 @@ for f in \
docker cp "${container}:/out/$f" workdir/secondary/tls docker cp "${container}:/out/$f" workdir/secondary/tls
done done
# Private keys have 600 perms but tests are run as another user
chmod 666 workdir/primary/tls/primary-server-consul-0-key.pem
chmod 666 workdir/secondary/tls/secondary-server-consul-0-key.pem
docker rm -f "$container" >/dev/null || true docker rm -f "$container" >/dev/null || true