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:
f3258cb
)
restart_client needs to remove the old client from its parent, not just stop it.
author
Daira Hopwood
<daira@jacaranda.org>
Tue, 8 Sep 2015 14:29:48 +0000
(15:29 +0100)
committer
Daira Hopwood
<daira@jacaranda.org>
Tue, 15 Sep 2015 17:43:00 +0000
(18:43 +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 f5578ac326aaa26bd34264a1cd248c0a5c98dedb..4e6249e5edc70c5c4d6c31b953abfcee4e79d4f0 100644
(file)
--- a/
src/allmydata/test/no_network.py
+++ b/
src/allmydata/test/no_network.py
@@
-386,7
+386,7
@@
class GridTestMixin:
def restart_client(self, i=0):
client = self.g.clients[i]
d = defer.succeed(None)
- d.addCallback(lambda ign:
client.stopService(
))
+ d.addCallback(lambda ign:
self.g.removeService(client
))
def _make_client(ign):
c = self.g.make_client(i, write_config=False)
self.g.clients[i] = c