Skip to content

Commit

Permalink
fix pg12 regress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pgstef committed Nov 14, 2019
1 parent deddb72 commit 5489d64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ _Check the results of a manual execution of check_pgbackrest_:
vagrant ssh pgsql-srv -c "sudo /check_pgbackrest/test/regress/test-s2-from-primary.bash"
```

Expected run time: 40 sec.
Expected run time: 50 sec.

### Test case 3

Expand Down
7 changes: 3 additions & 4 deletions test/provision/pgbackrest_remote_standby.bash
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ delta=y
[my_stanza]
pg1-path=${PGDATA}
recovery-option=standby_mode=on
recovery-option=primary_conninfo=host=pgsql-srv
recovery-option=recovery_target_timeline=latest
EOC

systemctl stop postgresql-11.service
sudo -iu postgres pgbackrest --stanza=my_stanza --config=/etc/pgbackrest-restore.conf restore
systemctl start postgresql-11.service
systemctl stop "postgresql-${PGVER}"
sudo -iu postgres pgbackrest --stanza=my_stanza --config=/etc/pgbackrest-restore.conf --type=standby restore
systemctl start "postgresql-${PGVER}"

0 comments on commit 5489d64

Please sign in to comment.