2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#1920] Fix in PgSQL tests

Suggested in review to make it consistent with MySQL test.
This commit is contained in:
Marcin Siodelski
2021-07-02 19:56:42 +02:00
parent b606998d2d
commit 00ca9671f1

View File

@@ -553,6 +553,7 @@ pgsql_upgrade_schema_to_version() {
for script in "${db_scripts_dir}"/pgsql/upgrade*.sh
do
version=$(pgsql_version)
if [ "${version}" = "${target_version}" ]
then
break
@@ -560,8 +561,6 @@ pgsql_upgrade_schema_to_version() {
echo "Processing $script file..."
"${script}" -U "${db_user}" -d "${db_name}"
version=$(pgsql_version)
done
echo "Schema upgraded to $version"