Skip to content

Commit

Permalink
--remove-orphans needs to come after 'down'
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Oct 3, 2024
1 parent 0e8a2f1 commit 40c5b37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test_run() {
sync

# Shut down all of the containers
docker compose -f "docker-compose-pg${VERSION}.yml" --remove-orphans down
docker compose -f "docker-compose-pg${VERSION}.yml" down --remove-orphans
sync

### FIXME:
Expand All @@ -100,6 +100,9 @@ test_run() {
if [ "$PGVER" != "${TARGET}" ]; then
banner '*' "'One shot' automatic upgrade of PostgreSQL from version ${VERSION} to ${TARGET} FAILED!"
FAILURE=1

sudo cat postgres-data/pg_upgrade_server.log

else
banner '*' "'One shot' automatic upgrade of PostgreSQL from version ${VERSION} to ${TARGET} SUCCEEDED!"
fi
Expand Down

0 comments on commit 40c5b37

Please sign in to comment.