projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25ff9e1
)
test_introducer: flushEventualQueue at the end of the test run
author
Brian Warner
<warner@allmydata.com>
Wed, 28 Mar 2007 00:16:13 +0000
(17:16 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 28 Mar 2007 00:16:13 +0000
(17:16 -0700)
src/allmydata/test/test_introducer.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_introducer.py
b/src/allmydata/test/test_introducer.py
index 7d7ce0e631359747bb02286da6da18e105499d00..c1f78cdc23b4179b58815fc20e2f2528cd2efedf 100644
(file)
--- a/
src/allmydata/test/test_introducer.py
+++ b/
src/allmydata/test/test_introducer.py
@@
-5,6
+5,7
@@
from twisted.python import log
defer.setDebugging(True)
from foolscap import Tub, Referenceable
+from foolscap.eventual import flushEventualQueue
from twisted.application import service
from allmydata.introducer import IntroducerClient, Introducer
from allmydata.util import idlib
@@
-25,6
+26,7
@@
class TestIntroducer(unittest.TestCase):
d = defer.Deferred()
reactor.callLater(1.1, d.callback, None)
d.addCallback(lambda res: self.parent.stopService())
+ d.addCallback(flushEventualQueue)
return d