diff --git a/tests/unittest.py b/tests/unittest.py index 47f8cd717b..6a6cfd7c1b 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -690,6 +690,9 @@ class HomeserverTestCase(TestCase): # because tests assume that the database is using the latest schema. self.wait_for_background_updates() + # TODO: How can we concretely know that the database background updates were + # scheduled and now complete? + return hs def pump(self, by: float = 0.0) -> None: