From 51ad4418f774e97e19f50808e2e4a0f7bc4af98c Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 27 Mar 2007 17:16:13 -0700 Subject: [PATCH] test_introducer: flushEventualQueue at the end of the test run --- src/allmydata/test/test_introducer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/allmydata/test/test_introducer.py b/src/allmydata/test/test_introducer.py index 7d7ce0e6..c1f78cdc 100644 --- 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 -- 2.45.2