changeset 827:3d2cd36378f1 sql-opti

fix upgrade tests
author Alain Mazy <am@orthanc.team>
date Wed, 04 Jun 2025 16:27:01 +0200
parents b5a146281887
children 42001363b297
files NewTests/PostgresUpgrades/downgrade.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NewTests/PostgresUpgrades/downgrade.sh	Wed Jun 04 15:30:11 2025 +0200
+++ b/NewTests/PostgresUpgrades/downgrade.sh	Wed Jun 04 16:27:01 2025 +0200
@@ -4,9 +4,12 @@
 
 apt-get update && apt-get install -y wget mercurial
 hg clone https://orthanc.uclouvain.be/hg/orthanc-databases
-hg update -r default
+pushd /scripts/orthanc-databases/
+hg update -r sql-opti
+
 psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev99ToRev4.sql
 
 # if you want to test a downgrade procedure, you may use this code ...
 # psql -U postgres -f downgrade.sql
 popd
+popd