Brian Warner
|
63b19e567c
|
web: fix the ERROR: line to work the same in python2.4 and 2.5
|
2009-02-25 01:46:21 -07:00 |
|
Brian Warner
|
7d4901197a
|
test_cli/test_web: fix spurious test failure on solaris (maybe python2.4?) due to variations in the way that exceptions are stringified
|
2009-02-25 00:01:28 -07:00 |
|
Brian Warner
|
a3c1fe35d9
|
CLI: modify 'tahoe manifest' and 'tahoe deep-check' to report ERROR: properly. For #590.
|
2009-02-24 23:44:15 -07:00 |
|
Brian Warner
|
fd4ceb6a87
|
webapi: modify streaming deep-manifest/deep-checker to emit an ERROR: line if they encounter an unrecoverable+untraversable directory. For #590.
|
2009-02-24 23:13:35 -07:00 |
|
Brian Warner
|
7f8708cb7c
|
scripts/common: fix alias handling on windows again, emit slightly nicer error message in response to an unknown alias
|
2009-02-24 22:21:36 -07:00 |
|
Brian Warner
|
51e3baeefc
|
test_deepcheck: switch deep-check tests to use no-network too. This cuts the runtime down by about 50%
|
2009-02-24 21:04:57 -07:00 |
|
Brian Warner
|
6cf4096156
|
test_deepcheck: convert MutableChecker to no-network GridTest
|
2009-02-24 20:00:10 -07:00 |
|
Brian Warner
|
2e7f64d392
|
tests/no_network: move GET into the GridTestMixin class
|
2009-02-24 18:33:00 -07:00 |
|
Brian Warner
|
6f981e4eab
|
common_web.py: oops, add .fields to the other FakeRequest
|
2009-02-24 18:04:59 -07:00 |
|
Brian Warner
|
376eab0c04
|
test_cli: exercise the recent tolerate-'c:\dir\file.txt' fix in scripts/common, recorded in a separate match to make it easier to merge the fix to prod
|
2009-02-24 17:56:20 -07:00 |
|
Brian Warner
|
8d8250e44a
|
test/common_web.py: add a .fields attribute to our FakeRequest, since we support versions of Nevow that are old enough to not do it themselves
|
2009-02-24 17:20:50 -07:00 |
|
Brian Warner
|
2810de32b1
|
test_web: add (disabled) test to see what happens when deep-check encounters an unrecoverable directory. We still need code changes to improve this behavior.
|
2009-02-24 15:40:17 -07:00 |
|
Brian Warner
|
7cfbb9c832
|
test_repairer: change to use faster no_network.GridTestMixin, split Verifier tests into separate cases, refactor judgement funcs into shared methods
|
2009-02-23 22:15:06 -07:00 |
|
Brian Warner
|
2be729b1e4
|
test_repairer: change Repairer to use much-faster no_network.GridTestMixin. As a side-effect, fix what I think was a bug: some of the assert-minimal-effort-expended checks were mixing write counts and allocate counts
|
2009-02-23 17:42:27 -07:00 |
|
Brian Warner
|
cc3c1ae8df
|
test/no_network.py: add a basic stats provider
|
2009-02-23 17:39:37 -07:00 |
|
Brian Warner
|
f35c659b2f
|
tests: stop using setUpClass/tearDownClass, since they've been deprecated in Twisted-8.2.0
|
2009-02-23 14:43:12 -07:00 |
|
Brian Warner
|
bc91689f8e
|
test_checker: improve test coverage for checker results
|
2009-02-23 14:19:43 -07:00 |
|
Alberto Berti
|
d9649052d4
|
Fixed tests again so they will pass on windows.
|
2009-02-22 18:35:02 -07:00 |
|
Brian Warner
|
c4f8005867
|
remove more RuntimeError from unit tests, for #639
|
2009-02-22 17:28:55 -07:00 |
|
Brian Warner
|
5c3d7d8e73
|
stop using RuntimeError in unit tests, for #639
|
2009-02-22 17:27:22 -07:00 |
|
Alberto Berti
|
b945c275c2
|
Added tests for the cse when listdir is an iterator
|
2009-02-22 16:43:56 -07:00 |
|
Alberto Berti
|
cd0bd97954
|
Fixed tests so that they pass also on buildbots.
|
2009-02-22 16:43:11 -07:00 |
|
Alberto Berti
|
b2f8fe04c6
|
Use failUnlessEqual instead of failUnless(a == b)
|
2009-02-22 16:42:14 -07:00 |
|
Alberto Berti
|
5d629d0050
|
Added tests for the --exclude* options of backup command.
|
2009-02-22 10:51:06 -07:00 |
|
Alberto Berti
|
ff6a77cc6b
|
Added tests for the fixed alias related command's synopsis
|
2009-02-22 10:37:32 -07:00 |
|
Brian Warner
|
c85eccbf64
|
test_web.py: increase test coverage of web.status.plural()
|
2009-02-21 18:01:16 -07:00 |
|
Brian Warner
|
77f3b83d68
|
crawler: fix performance problems: only save state once per timeslice (not after every bucket), don't start the crawler until 5 minutes after node startup
|
2009-02-21 14:56:49 -07:00 |
|
Brian Warner
|
a04d3b8fe8
|
test_system: oops, don't assume that all files in storage/ are in a deep storage/shares/prefix/si/shnum path, since now the crawler pickle has a short path
|
2009-02-21 00:17:10 -07:00 |
|
Brian Warner
|
3c6471c717
|
test_storage: startService the server, as is now the standard practice
|
2009-02-20 21:57:55 -07:00 |
|
Brian Warner
|
1077826357
|
BucketCountingCrawler: rename status and state keys to use 'bucket' instead of 'share', because the former is more accurate
|
2009-02-20 21:46:06 -07:00 |
|
Brian Warner
|
b3cd4952bd
|
storage: add bucket-counting share crawler, add its output (number of files+directories maintained by a storage server) and status to the webapi /storage page
|
2009-02-20 21:04:08 -07:00 |
|
Brian Warner
|
73e05bf967
|
crawler: add get_progress, clean up get_state
|
2009-02-20 18:27:43 -07:00 |
|
Brian Warner
|
2e45619844
|
web/storage: make sure we can handle platforms without os.statvfs too
|
2009-02-20 16:03:53 -07:00 |
|
Brian Warner
|
c6a061e600
|
crawler: provide for one-shot crawlers, which stop after their first full cycle, for share-upgraders and database-populaters
|
2009-02-20 15:19:11 -07:00 |
|
Brian Warner
|
00677ff9a5
|
web: add Storage status page, improve tests
|
2009-02-20 14:29:26 -07:00 |
|
Brian Warner
|
c6c30ac5d4
|
webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation
|
2009-02-20 12:15:54 -07:00 |
|
Brian Warner
|
e357b8a679
|
test/no_network: do startService on the storage servers, make it easier to customize the storage servers
|
2009-02-19 20:22:54 -07:00 |
|
Brian Warner
|
ef4ff21ae7
|
crawler: modify API to support upcoming bucket-counting crawler
|
2009-02-19 19:31:42 -07:00 |
|
Brian Warner
|
9bc08158c6
|
test_backupdb: make the not-a-database file larger, since the older sqlite-2.3.2 on OS-X is easily fooled
|
2009-02-19 18:04:09 -07:00 |
|
Brian Warner
|
2f751332e8
|
test_crawler: hush pyflakes
|
2009-02-19 14:23:40 -07:00 |
|
Brian Warner
|
ff9811211d
|
test_crawler: disable the percentage-of-cpu-used test, since it is too unreliable on our slow buildslaves. But leave the code in place for developers to run by hand.
|
2009-02-19 14:16:54 -07:00 |
|
Brian Warner
|
790a10d1b2
|
reliability.py: fix the numpy conversion, it was completely broken. Thanks to Terrell Russell for the help.
|
2009-02-19 13:55:15 -07:00 |
|
Brian Warner
|
268cd538e2
|
reliability: switch to NumPy, since Numeric is deprecated
|
2009-02-19 01:44:35 -07:00 |
|
Brian Warner
|
f10aa59e5b
|
test_crawler: don't require >=1 cycle on cygwin
|
2009-02-19 00:58:18 -07:00 |
|
Brian Warner
|
b949ea4f32
|
crawler: fix problems on windows and our slow cygwin slave
|
2009-02-18 22:24:31 -07:00 |
|
Brian Warner
|
193889f793
|
#633: first version of a rate-limited interruptable share-crawler
|
2009-02-18 21:46:33 -07:00 |
|
Brian Warner
|
4646451de6
|
change StorageServer to take nodeid in the constructor, instead of assigning it later, since it's cleaner and because the original problem (Tubs not being ready until later) went away
|
2009-02-18 16:23:01 -07:00 |
|
Brian Warner
|
b398a69f14
|
test_system: split off checker tests to test_deepcheck.py, this file is too big
|
2009-02-18 15:42:34 -07:00 |
|
Brian Warner
|
ef53da2b12
|
break storage.py into smaller pieces in storage/*.py . No behavioral changes.
|
2009-02-18 14:46:55 -07:00 |
|
Brian Warner
|
bce4a5385b
|
add --add-lease to 'tahoe check', 'tahoe deep-check', and webapi.
|
2009-02-17 19:32:43 -07:00 |
|