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:
806f6ab
)
test_backupdb.py: reset the check-timers after one step, otherwise a slow host can...
author
Brian Warner
<warner@lothar.com>
Fri, 6 Feb 2009 08:33:05 +0000
(
01:33
-0700)
committer
Brian Warner
<warner@lothar.com>
Fri, 6 Feb 2009 08:33:05 +0000
(
01:33
-0700)
src/allmydata/test/test_backupdb.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_backupdb.py
b/src/allmydata/test/test_backupdb.py
index 3af720b8de00129686d7d6d56f8fea95644f8ab0..0c209e136c5ee01ec33b9eacad22d2cc9edd5407 100644
(file)
--- a/
src/allmydata/test/test_backupdb.py
+++ b/
src/allmydata/test/test_backupdb.py
@@
-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)