Improve logging in test_wal_restore.py

- Capture the output of the restore_from_wal.sh in a log file
- Kill "restored" Postgres server on test failure
This commit is contained in:
Heikki Linnakangas
2022-04-20 11:16:13 +03:00
parent 170badd626
commit 5e95338ee9
2 changed files with 12 additions and 13 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash
PG_BIN=$1
WAL_PATH=$2
DATA_DIR=$3