diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-11-22 12:01:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 12:01:47 -0500 |
commit | 3d893b8cf2358f947678dfb995b73f426200b099 (patch) | |
tree | d342b9adf7244ea139924f854ce873d1513ae47b /tests/unittest.py | |
parent | Update README.md (diff) | |
download | synapse-3d893b8cf2358f947678dfb995b73f426200b099.tar.xz |
Store arbitrary relations from events. (#11391)
Instead of only known relation types. This also reworks the background update for thread relations to crawl events and search for any relation type, not just threaded relations.
Diffstat (limited to 'tests/unittest.py')
-rw-r--r-- | tests/unittest.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index c9a08a3420..165aafc574 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -331,7 +331,12 @@ class HomeserverTestCase(TestCase): time.sleep(0.01) def wait_for_background_updates(self) -> None: - """Block until all background database updates have completed.""" + """ + Block until all background database updates have completed. + + Note that callers must ensure that's a store property created on the + testcase. + """ while not self.get_success( self.store.db_pool.updates.has_completed_background_updates() ): |