mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-23 21:08:22 +00:00
test_system.py: assert less about the stats we get, since shares (and thus allocate() calls) are distributed randomly
This commit is contained in:
parent
7c4edac582
commit
e942ab141b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user