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:
832ec90
)
stopService does not necessarily return a Deferred.
author
Daira Hopwood
<daira@jacaranda.org>
Thu, 3 Sep 2015 18:41:51 +0000
(19:41 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Tue, 15 Sep 2015 17:42:59 +0000
(18:42 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/no_network.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/no_network.py
b/src/allmydata/test/no_network.py
index b84a7a2e969f90600b617745bb48081e043ec651..f5578ac326aaa26bd34264a1cd248c0a5c98dedb 100644
(file)
--- a/
src/allmydata/test/no_network.py
+++ b/
src/allmydata/test/no_network.py
@@
-385,7
+385,8
@@
class GridTestMixin:
def restart_client(self, i=0):
client = self.g.clients[i]
- d = client.stopService()
+ d = defer.succeed(None)
+ d.addCallback(lambda ign: client.stopService())
def _make_client(ign):
c = self.g.make_client(i, write_config=False)
self.g.clients[i] = c