mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-12 23:45:28 -04:00
ObservableDeferred: run observers in order (#11229)
This commit is contained in:
parent
93aa670642
commit
46d0937447
4 changed files with 88 additions and 20 deletions
|
@ -47,9 +47,7 @@ class DeferredCacheTestCase(TestCase):
|
|||
self.assertTrue(set_d.called)
|
||||
return r
|
||||
|
||||
# TODO: Actually ObservableDeferred *doesn't* run its tests in order on py3.8.
|
||||
# maybe we should fix that?
|
||||
# get_d.addCallback(check1)
|
||||
get_d.addCallback(check1)
|
||||
|
||||
# now fire off all the deferreds
|
||||
origin_d.callback(99)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue