mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-26 05:27:38 +00:00
test_backupdb.py: reset the check-timers after one step, otherwise a slow host can false-fail
This commit is contained in:
parent
806f6ab426
commit
9933aa0d49
@ -116,6 +116,9 @@ class BackupDB(unittest.TestCase):
|
||||
self.failUnlessEqual(r.should_check(), True)
|
||||
r.did_check_healthy("results") # we know they're ignored for now
|
||||
|
||||
bdb.NO_CHECK_BEFORE = 200
|
||||
bdb.ALWAYS_CHECK_AFTER = 400
|
||||
|
||||
r = bdb.check_file(blah_fn)
|
||||
self.failUnlessEqual(r.was_uploaded(), "blah-cap")
|
||||
self.failUnlessEqual(r.should_check(), False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user