summary refs log tree commit diff
path: root/.ci/scripts
diff options
context:
space:
mode:
authorNick Barrett <nick@fizzadar.com>2021-10-06 11:26:18 +0100
committerGitHub <noreply@github.com>2021-10-06 11:26:18 +0100
commitc80878d22a013ed68d3929025bbd40074e66af01 (patch)
tree30fd07e4fa8d7821a5fa22e7ae41a18d49c0124a /.ci/scripts
parentMore types for synapse.util, part 1 (#10888) (diff)
downloadsynapse-c80878d22a013ed68d3929025bbd40074e66af01.tar.xz
Add `--run-background-updates` option to `update_database` script. (#10954)
Signed-off-by: Nick Barrett <nick@beeper.com>
Diffstat (limited to '.ci/scripts')
-rwxr-xr-x.ci/scripts/test_synapse_port_db.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/scripts/test_synapse_port_db.sh b/.ci/scripts/test_synapse_port_db.sh
index 2b4e5ec170..50115b3079 100755
--- a/.ci/scripts/test_synapse_port_db.sh
+++ b/.ci/scripts/test_synapse_port_db.sh
@@ -25,7 +25,7 @@ python -m synapse.app.homeserver --generate-keys -c .ci/sqlite-config.yaml
 echo "--- Prepare test database"
 
 # Make sure the SQLite3 database is using the latest schema and has no pending background update.
-scripts-dev/update_database --database-config .ci/sqlite-config.yaml
+scripts/update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
 
 # Create the PostgreSQL database.
 .ci/scripts/postgres_exec.py "CREATE DATABASE synapse"
@@ -46,7 +46,7 @@ echo "--- Prepare empty SQLite database"
 # we do this by deleting the sqlite db, and then doing the same again.
 rm .ci/test_db.db
 
-scripts-dev/update_database --database-config .ci/sqlite-config.yaml
+scripts/update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
 
 # re-create the PostgreSQL database.
 .ci/scripts/postgres_exec.py \