]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Clean up test at end
authorDavid Stainton <dstainton415@gmail.com>
Tue, 26 May 2015 16:47:44 +0000 (09:47 -0700)
committerDavid Stainton <dstainton415@gmail.com>
Tue, 26 May 2015 16:47:44 +0000 (09:47 -0700)
this gets rid of the dirty reactor

src/allmydata/test/test_drop_upload.py

index 82864b7e7e66c55fe3c742ea4b8c2e548799f175..593d9885e6509b1d0bd973b66aa6914ca275958e 100644 (file)
@@ -274,6 +274,7 @@ class DropUploadTestMixin(GridTestMixin, ShouldFailMixin, ReallyEqualMixin, NonA
         d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.files_uploaded'), 0))
         d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.objects_queued'), 0))
         d.addCallback(lambda ign: self.failUnlessReallyEqual(self._get_count('drop_upload.directories_created'), 1))
+        d.addBoth(self._cleanup)
         return d
         
     def test_drop_upload(self):