]> 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)
committerDaira Hopwood <daira@jacaranda.org>
Wed, 30 Sep 2015 15:45:21 +0000 (16:45 +0100)
this gets rid of the dirty reactor

src/allmydata/test/test_drop_upload.py

index 913b834878bb8427c922725d088d12640bea8782..f9cc3759b8fe044f0be43f0b171ce90288f00cf7 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):