@@ -25,17 +25,17 @@ python -m synapse.app.homeserver --generate-keys -c .ci/sqlite-config.yaml
2525echo " --- Prepare test database"
2626
2727# Make sure the SQLite3 database is using the latest schema and has no pending background update.
28- scripts/ update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
28+ update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
2929
3030# Create the PostgreSQL database.
3131.ci/scripts/postgres_exec.py " CREATE DATABASE synapse"
3232
3333echo " +++ Run synapse_port_db against test database"
34- coverage run scripts/ synapse_port_db --sqlite-database .ci/test_db.db --postgres-config .ci/postgres-config.yaml
34+ coverage run synapse_port_db --sqlite-database .ci/test_db.db --postgres-config .ci/postgres-config.yaml
3535
3636# We should be able to run twice against the same database.
3737echo " +++ Run synapse_port_db a second time"
38- coverage run scripts/ synapse_port_db --sqlite-database .ci/test_db.db --postgres-config .ci/postgres-config.yaml
38+ coverage run synapse_port_db --sqlite-database .ci/test_db.db --postgres-config .ci/postgres-config.yaml
3939
4040# ####
4141
@@ -46,12 +46,12 @@ echo "--- Prepare empty SQLite database"
4646# we do this by deleting the sqlite db, and then doing the same again.
4747rm .ci/test_db.db
4848
49- scripts/ update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
49+ update_synapse_database --database-config .ci/sqlite-config.yaml --run-background-updates
5050
5151# re-create the PostgreSQL database.
5252.ci/scripts/postgres_exec.py \
5353 " DROP DATABASE synapse" \
5454 " CREATE DATABASE synapse"
5555
5656echo " +++ Run synapse_port_db against empty database"
57- coverage run scripts/ synapse_port_db --sqlite-database .ci/test_db.db --postgres-config .ci/postgres-config.yaml
57+ coverage run synapse_port_db --sqlite-database .ci/test_db.db --postgres-config .ci/postgres-config.yaml
0 commit comments