summary refs log tree commit diff
path: root/.buildkite/scripts
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-05-24 14:03:00 +0100
committerGitHub <noreply@github.com>2021-05-24 14:03:00 +0100
commitdaca7b2794fb86514dc01de551bb0e5db77cf914 (patch)
treebf6e01d5a93df39c678d3ae3f7ef22adbafbb0d0 /.buildkite/scripts
parentRemove `keylen` from `LruCache`. (#9993) (diff)
downloadsynapse-daca7b2794fb86514dc01de551bb0e5db77cf914.tar.xz
Fix off-by-one-error in synapse_port_db (#9991)
fixes #9979
Diffstat (limited to '.buildkite/scripts')
-rwxr-xr-x.buildkite/scripts/test_synapse_port_db.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.buildkite/scripts/test_synapse_port_db.sh b/.buildkite/scripts/test_synapse_port_db.sh
index a7e2454769..82d7d56d4e 100755
--- a/.buildkite/scripts/test_synapse_port_db.sh
+++ b/.buildkite/scripts/test_synapse_port_db.sh
@@ -33,6 +33,10 @@ scripts-dev/update_database --database-config .buildkite/sqlite-config.yaml
 echo "+++ Run synapse_port_db against test database"
 coverage run scripts/synapse_port_db --sqlite-database .buildkite/test_db.db --postgres-config .buildkite/postgres-config.yaml
 
+# We should be able to run twice against the same database.
+echo "+++ Run synapse_port_db a second time"
+coverage run scripts/synapse_port_db --sqlite-database .buildkite/test_db.db --postgres-config .buildkite/postgres-config.yaml
+
 #####
 
 # Now do the same again, on an empty database.