diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-12-04 18:20:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 18:20:36 +0000 |
commit | fe799f353dbd1f018fac39d2737f62688edb101d (patch) | |
tree | 9054f3c4ee26d2bdc56ed49f5972a23c0c86e92a /scripts/synapse_port_db | |
parent | get rid of (most of) have_events from _update_auth_events_and_context_for_aut... (diff) | |
parent | Fix background updates for synapse_port_db (diff) | |
download | synapse-fe799f353dbd1f018fac39d2737f62688edb101d.tar.xz |
Merge pull request #6470 from matrix-org/babolivier/port_db_ci_failure
Make synapse_port_db exit with a non-0 code if something failed
Diffstat (limited to 'scripts/synapse_port_db')
-rwxr-xr-x | scripts/synapse_port_db | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db index f24b8ffe67..0007a15f59 100755 --- a/scripts/synapse_port_db +++ b/scripts/synapse_port_db @@ -47,6 +47,7 @@ from synapse.storage.data_stores.main.media_repository import ( from synapse.storage.data_stores.main.registration import ( RegistrationBackgroundUpdateStore, ) +from synapse.storage.data_stores.main.room import RoomBackgroundUpdateStore from synapse.storage.data_stores.main.roommember import RoomMemberBackgroundUpdateStore from synapse.storage.data_stores.main.search import SearchBackgroundUpdateStore from synapse.storage.data_stores.main.state import StateBackgroundUpdateStore @@ -131,6 +132,7 @@ class Store( EventsBackgroundUpdatesStore, MediaRepositoryBackgroundUpdateStore, RegistrationBackgroundUpdateStore, + RoomBackgroundUpdateStore, RoomMemberBackgroundUpdateStore, SearchBackgroundUpdateStore, StateBackgroundUpdateStore, @@ -1055,3 +1057,4 @@ if __name__ == "__main__": if end_error_exec_info: exc_type, exc_value, exc_traceback = end_error_exec_info traceback.print_exception(exc_type, exc_value, exc_traceback) + sys.exit(5) |