]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_system.py: assert less about the stats we get, since shares (and thus allocate...
authorBrian Warner <warner@allmydata.com>
Fri, 5 Dec 2008 00:27:04 +0000 (17:27 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 5 Dec 2008 00:27:04 +0000 (17:27 -0700)
src/allmydata/test/test_system.py

index 02fd446ac4f6d886e95b41d760925170182b67f5..be672be44cb0a55e22fff3939e6bb4ec22731cb7 100644 (file)
@@ -420,7 +420,7 @@ class SystemTest(SystemTestMixin, unittest.TestCase):
                 s = stats["stats"]
                 self.failUnlessEqual(s["storage_server.accepting_immutable_shares"], 1)
                 c = stats["counters"]
-                self.failUnlessEqual(c["storage_server.allocate"], 2)
+                self.failUnless("storage_server.allocate" in c)
             d.addCallback(_got_stats)
             return d
         d.addCallback(_grab_stats)