]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
DropUploader.startService returns a deferred; don't drop it.
authorDaira Hopwood <daira@jacaranda.org>
Wed, 15 Apr 2015 13:03:03 +0000 (14:03 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 17 Apr 2015 17:11:10 +0000 (18:11 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_drop_upload.py

index 8a4fc9eeb62bf653f08648e6a16a0879ba8a374d..141686e05bff37c1d155a4b4a9f2a5b5944bda45 100644 (file)
@@ -43,9 +43,10 @@ class DropUploadTestMixin(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, NonA
             self.uploader = DropUploader(self.client, self.upload_dircap, self.local_dir.encode('utf-8'),
                                          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.