-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
delete keys when deleting backup versions #6253
Conversation
sytest failure is:
which seems unrelated to my changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than tests
tests/storage/test_e2e_room_keys.py
Outdated
} | ||
|
||
|
||
class E2eRoomKeysHandlerTestCase(unittest.TestCase): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use HomeserverTestCase
please? Its the new (ish) way of doing things such that we don't need to spin up a full reactor, and has a number of advantages.
Broadly, it works in the same way instead of doing @defer.inlineCallbacks
and yield
you can do self.get_success(self.store.some_deferred_returning_func())
Given that I only made changes the unit test, and the sytest is now passing, it sounds like the "Gapped incremental syncs include all state changes" test is flaky. |
* commit 'da78f6177': remove unneeded imports switch to using HomeserverTestCase remove some unnecessary lines add changelog delete keys when deleting backups
No description provided.