From 80645c26feba31d878a27f72d011b1bbd0188e5c 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 8a4fc9ee..141686e0 100644 --- a/src/allmydata/test/test_drop_upload.py +++ b/src/allmydata/test/test_drop_upload.py @@ -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. -- 2.45.2