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:
66a0604
)
test_storage.py: avoid spurious test failure by accepting either 'Next crawl in 59...
author
david-sarah
<david-sarah@jacaranda.org>
Tue, 3 Aug 2010 10:20:58 +0000
(
03:20
-0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Tue, 3 Aug 2010 10:20:58 +0000
(
03:20
-0700)
src/allmydata/test/test_storage.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_storage.py
b/src/allmydata/test/test_storage.py
index c3153e857a2dc6c78d35d2aa5356f9b0de7540a9..90a404831f8fb8ed58eb5f605b8b7cce826f12fd 100644
(file)
--- a/
src/allmydata/test/test_storage.py
+++ b/
src/allmydata/test/test_storage.py
@@
-1445,7
+1445,7
@@
class BucketCounter(unittest.TestCase, pollmixin.PollMixin):
html = w.renderSynchronously()
s = remove_tags(html)
self.failUnlessIn("Total buckets: 0 (the number of", s)
- self.failUnless
In("Next crawl in 59 minutes"
, s)
+ self.failUnless
("Next crawl in 59 minutes" in s or "Next crawl in 60 minutes" in s
, s)
d.addCallback(_check2)
return d