mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-22 16:58:58 +00:00
test_storage.py: avoid spurious test failure by accepting either 'Next crawl in 59 minutes' or 'Next crawl in 60 minutes'. fixes #1140
This commit is contained in:
@ -1445,7 +1445,7 @@ class BucketCounter(unittest.TestCase, pollmixin.PollMixin):
|
|||||||
html = w.renderSynchronously()
|
html = w.renderSynchronously()
|
||||||
s = remove_tags(html)
|
s = remove_tags(html)
|
||||||
self.failUnlessIn("Total buckets: 0 (the number of", s)
|
self.failUnlessIn("Total buckets: 0 (the number of", s)
|
||||||
self.failUnlessIn("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)
|
d.addCallback(_check2)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user