From 24623e8db7ff696992f29deeb1d6f68ee4e7a7a9 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Tue, 26 May 2015 09:47:44 -0700 Subject: [PATCH] Clean up test at end this gets rid of the dirty reactor --- src/allmydata/test/test_drop_upload.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/test/test_drop_upload.py b/src/allmydata/test/test_drop_upload.py index 82864b7e..593d9885 100644 --- a/src/allmydata/test/test_drop_upload.py +++ b/src/allmydata/test/test_drop_upload.py @@ -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): -- 2.45.2