diff --git a/test/README.md b/test/README.md index ad21f8e..f799aee 100644 --- a/test/README.md +++ b/test/README.md @@ -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 diff --git a/test/provision/pgbackrest_remote_standby.bash b/test/provision/pgbackrest_remote_standby.bash index 03d1b40..987b4a7 100644 --- a/test/provision/pgbackrest_remote_standby.bash +++ b/test/provision/pgbackrest_remote_standby.bash @@ -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 \ No newline at end of file +systemctl stop "postgresql-${PGVER}" +sudo -iu postgres pgbackrest --stanza=my_stanza --config=/etc/pgbackrest-restore.conf --type=standby restore +systemctl start "postgresql-${PGVER}" \ No newline at end of file