Skip to content

Commit 2295121

Browse files
committed
test(docker): set PGPASSWORD
1 parent d92f264 commit 2295121

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nix/packages/docker-image-test.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ writeShellApplication {
349349
350350
# 6. shared_preload_libraries must include orioledb — injected by wrapper, no flags needed
351351
local spl
352-
spl=$(docker exec "$container" sh -c "
352+
spl=$(docker exec -e PGPASSWORD="$POSTGRES_PASSWORD" "$container" sh -c "
353353
psql -U $POSTGRES_USER -d postgres -h $pooler_dir/pg_sockets \
354354
-tAc \"SHOW shared_preload_libraries;\" 2>&1") || true
355355
if ! echo "$spl" | grep -q "orioledb"; then
@@ -361,7 +361,7 @@ writeShellApplication {
361361
362362
# 7. default_table_access_method must be orioledb
363363
local tam
364-
tam=$(docker exec "$container" sh -c "
364+
tam=$(docker exec -e PGPASSWORD="$POSTGRES_PASSWORD" "$container" sh -c "
365365
psql -U $POSTGRES_USER -d postgres -h $pooler_dir/pg_sockets \
366366
-tAc \"SHOW default_table_access_method;\" 2>&1") || true
367367
if ! echo "$tam" | grep -q "orioledb"; then

0 commit comments

Comments
 (0)