projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4edac
)
test_system.py: assert less about the stats we get, since shares (and thus allocate...
author
Brian Warner
<warner@allmydata.com>
Fri, 5 Dec 2008 00:27:04 +0000
(17:27 -0700)
committer
Brian Warner
<warner@allmydata.com>
Fri, 5 Dec 2008 00:27:04 +0000
(17:27 -0700)
src/allmydata/test/test_system.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_system.py
b/src/allmydata/test/test_system.py
index 02fd446ac4f6d886e95b41d760925170182b67f5..be672be44cb0a55e22fff3939e6bb4ec22731cb7 100644
(file)
--- a/
src/allmydata/test/test_system.py
+++ b/
src/allmydata/test/test_system.py
@@
-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.failUnless
Equal(c["storage_server.allocate"], 2
)
+ self.failUnless
("storage_server.allocate" in c
)
d.addCallback(_got_stats)
return d
d.addCallback(_grab_stats)