From 101e7022ca831c9904f8d7b8cc0e3d819e65c6c7 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Wed, 15 Apr 2015 14:03:03 +0100 Subject: [PATCH] DropUploader.startService returns a deferred; don't drop it. Signed-off-by: Daira Hopwood --- src/allmydata/test/test_drop_upload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/test_drop_upload.py b/src/allmydata/test/test_drop_upload.py index ae5bb236..3583ca68 100644 --- a/src/allmydata/test/test_drop_upload.py +++ b/src/allmydata/test/test_drop_upload.py @@ -81,9 +81,10 @@ class DropUploadTestMixin(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, NonA self.uploader = DropUploader(self.client, self.upload_dircap, self.local_dir.encode('utf-8'), "magicfolderdb.sqlite", inotify=self.inotify) self.uploader.setServiceParent(self.client) - self.uploader.startService() + d = self.uploader.startService() self.uploader.upload_ready() - return None + return d + d.addCallback(_made_upload_dir) # Write something short enough for a LIT file. -- 2.45.2