Skip to content

Commit 184da8a

Browse files
Debug locks
1 parent ec7e4f0 commit 184da8a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ jobs:
8282
( sudo ./caddy run --config .github/workflows/Caddyfile 2>&1 | tee caddy.log ) &
8383
CADDY_PID=$!
8484
echo "CADDY_PID=$CADDY_PID" >> "$GITHUB_ENV"
85+
86+
# Start lock logger
87+
( for i in {1..30}; do
88+
echo "----- $(date) -----"
89+
psql "postgres://postgres:@localhost:5432/postgres" -c "TABLE caddy_locks;" || true
90+
sleep 1
91+
done ) &
8592
8693
# Wait for the test domain to be ready on 443
8794
for i in {1..30}; do

0 commit comments

Comments
 (0)