Fon E. Noel NFEBE
48283ea6f8
Refactor test_storage.py
...
There are base test classes namely `SyncTestCase` and
`AsyncTestCase` which we would like all test classes in
this code base to extend.
This commit extends the listed classes in test_storage.py
to extend the above mentioned base classes:
* UtilTests
* BucketProxy
* Server
Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2022-09-07 22:36:01 +01:00
Jean-Paul Calderone
3b9eea5b8f
news fragment
2022-09-06 08:46:52 -04:00
Jean-Paul Calderone
869b15803c
assorted fixes
2022-09-06 08:46:09 -04:00
meejah
711f6d39e7
missing proto
2022-09-01 22:29:19 -06:00
meejah
decb36a8f6
refactor for Windows testing
2022-09-01 22:20:07 -06:00
meejah
00c785ec76
debug windows
2022-09-01 21:47:28 -06:00
meejah
768829e993
more robust
2022-09-01 21:22:45 -06:00
meejah
1e6381ca7f
news
2022-09-01 17:44:01 -06:00
meejah
488a04cb9b
exit when stdin closes
2022-09-01 17:42:06 -06:00
Jean-Paul Calderone
7c25e1533f
Merge pull request #1210 from Fenn-CS/3916-refactor-fakeweb-n-memoryconsumer-tests
...
Switch FakeWebTest and MemoryConsumerTest to common.SyncTestCase
2022-08-30 14:52:23 -04:00
Itamar Turner-Trauring
bdb4aac0de
Pass in the missing argument.
2022-08-17 13:15:27 -04:00
Itamar Turner-Trauring
92662d802c
Don't drop a Deferred on the ground.
2022-08-17 13:15:13 -04:00
Itamar Turner-Trauring
cd81e5a01c
Hint for future debugging.
2022-08-17 13:13:22 -04:00
Itamar Turner-Trauring
3464637bbb
Fix unit tests.
2022-08-17 12:54:26 -04:00
Itamar Turner-Trauring
9d03c476d1
Make sure we write all the bytes we say we're sending.
2022-08-17 12:49:45 -04:00
Itamar Turner-Trauring
c9084a2a45
Disable assertion we can't, sadly, enable.
2022-08-17 12:49:26 -04:00
Fon E. Noel NFEBE
7aa97336a0
Refactor FakeWebTest & MemoryConsumerTest classes
...
There are base test classes namely `SyncTestCase` and
`AsyncTestCase` which we would like all test classes in
this code base to extend.
This commit refactors two test classes to use the `SyncTestCase`
with the newer assert methods.
Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2022-08-17 16:03:06 +01:00
Itamar Turner-Trauring
d50c98a1e9
Calculate URI extension size upfront, instead of hand-waving with a larger value.
2022-08-16 14:34:40 -04:00
Itamar Turner-Trauring
556606271d
News file.
2022-08-16 13:11:45 -04:00
Itamar Turner-Trauring
2e5662aa91
Temporarily enforce requirement that allocated size matches actual size of an immutable.
2022-08-16 13:11:06 -04:00
Itamar Turner-Trauring
c1bcfab7f8
Repeatedly poll status of server.
2022-08-15 11:38:02 -04:00
Itamar Turner-Trauring
6d48c1ca34
Merge branch '3902-listen-storage-http' into 3783-storage-client-http
2022-08-15 10:09:31 -04:00
Itamar Turner-Trauring
555fa6e942
Merge remote-tracking branch 'origin/master' into 3902-listen-storage-http
2022-08-15 10:09:21 -04:00
Itamar Turner-Trauring
71b7e9b643
Support comma-separated multi-location hints.
2022-08-15 10:09:04 -04:00
Itamar Turner-Trauring
78b421462d
Merge remote-tracking branch 'origin/master' into 3783-storage-client-http
2022-08-15 09:51:45 -04:00
Itamar Turner-Trauring
b9ac10293a
Merge remote-tracking branch 'origin/master' into 2916.grid-manager-proposal.6
2022-08-15 09:51:08 -04:00
Itamar Turner-Trauring
7dd346a32d
Merge pull request #1209 from tahoe-lafs/3913-bytes-vs-str
...
Fix a bytes-vs-str bug
Fixes ticket:3913
2022-08-15 09:50:00 -04:00
Itamar Turner-Trauring
42e818f0a7
Refer to appropriate attributes, hopefully.
2022-08-12 11:47:08 -04:00
Itamar Turner-Trauring
3fbc4d7eea
Let's make this a little clearer
2022-08-12 11:45:37 -04:00
Itamar Turner-Trauring
636b8a9e2d
Fix a bytes-vs-str bug.
2022-08-12 11:28:08 -04:00
Itamar Turner-Trauring
e8609ac2df
test_istorageserver passes with both Foolscap and HTTP again.
2022-08-12 11:24:41 -04:00
Itamar Turner-Trauring
09d778c2cf
Allow nodes to disable the HTTPS storage protocol.
2022-08-12 11:13:09 -04:00
Itamar Turner-Trauring
f671fb04a1
A lot closer to working end-to-end.
2022-08-11 16:24:33 -04:00
Itamar Turner-Trauring
9ad4e844e8
Do status change notification.
2022-08-11 16:16:17 -04:00
Itamar Turner-Trauring
94be227aaa
Hopefully don't actually need that.
2022-08-11 16:15:21 -04:00
Itamar Turner-Trauring
c3b159a3fd
Continue simplified sketch of HTTPNativeStorageServer.
2022-08-11 16:12:57 -04:00
Itamar Turner-Trauring
c3e4158813
Remove duplication.
2022-08-11 15:55:14 -04:00
Itamar Turner-Trauring
709f139c85
Start refactoring to enable HTTP storage client.
2022-08-11 15:51:30 -04:00
Itamar Turner-Trauring
8b3280bf31
Simplify more.
2022-07-29 10:51:17 -04:00
Itamar Turner-Trauring
d4c73f19fe
A unittest for the metaclass.
2022-07-29 10:42:56 -04:00
Itamar Turner-Trauring
533d2a7ac9
Note Tor and I2P support.
2022-07-29 10:15:23 -04:00
Itamar Turner-Trauring
1cd2185be7
More cleanups.
2022-07-29 10:12:24 -04:00
Itamar Turner-Trauring
34518f9d0d
Fix lints.
2022-07-29 10:01:09 -04:00
Itamar Turner-Trauring
822b652d99
Improve factoring.
2022-07-29 09:57:18 -04:00
Itamar Turner-Trauring
21bb9e50f6
Merge remote-tracking branch 'origin/master' into 3902-listen-storage-http
2022-07-29 09:45:17 -04:00
Itamar Turner-Trauring
4cc5c4d55d
Merge remote-tracking branch 'origin/master' into 2916.grid-manager-proposal.6
2022-07-25 11:55:47 -04:00
Itamar Turner-Trauring
d0208d0070
Merge pull request #1207 from tahoe-lafs/3909-new-werkzeug
...
Don't use broken new werkzeug
Fixes ticket:3909
2022-07-25 11:55:20 -04:00
Itamar Turner-Trauring
921e3a7712
Don't use broken version of werkzeug.
2022-07-25 09:55:03 -04:00
Itamar Turner-Trauring
c14463ac6d
News file.
2022-07-25 09:52:40 -04:00
Itamar Turner-Trauring
26f15f461c
Merge pull request #1204 from tahoe-lafs/3907-http-response-lengths
...
Improved HTTP response length handling
Fixes ticket:3907
2022-07-22 12:37:17 -04:00