Itamar Turner-Trauring
33d30b5c80
Type annotations.
2023-03-24 11:20:31 -04:00
Itamar Turner-Trauring
9baafea00e
Refactor: simplify code so there are fewer codepaths.
2023-03-24 11:08:17 -04:00
Itamar Turner-Trauring
f0e60a80af
Remove unneeded import.
2023-03-24 10:22:52 -04:00
Itamar Turner-Trauring
6659350ff3
Improve type annotations.
2023-03-24 10:18:15 -04:00
Itamar Turner-Trauring
0da059b644
Update the connection status during the initial choice of NURLs.
2023-03-24 10:10:18 -04:00
Itamar Turner-Trauring
264269f409
Better test name.
2023-03-21 11:29:50 -04:00
Itamar Turner-Trauring
14aeaea022
Another todo.
2023-03-21 11:29:19 -04:00
Itamar Turner-Trauring
7ae8b50d14
Async!
2023-03-21 11:26:40 -04:00
Itamar Turner-Trauring
b65bc9dca7
Better explanation.
2023-03-21 11:22:43 -04:00
Itamar Turner-Trauring
e989677319
Pass in a pool instead of pool options.
2023-03-21 11:20:25 -04:00
Itamar Turner-Trauring
c259bdb033
Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs
2023-03-20 10:03:22 -04:00
Jean-Paul Calderone
6a4346587c
Fix the type annotations
2023-03-17 15:46:27 -04:00
Jean-Paul Calderone
a3ebd21b25
implement retry ourselves, don't depend on tenacity
2023-03-17 15:30:14 -04:00
danielzwlee
2e2bbc1bcf
Sync branch with master and resolve merge conflicts
...
:# new file: src/allmydata/util/cputhreadpool.py
2023-03-14 14:49:01 -05:00
Itamar Turner-Trauring
dd07a39399
Don't bother with persistent connections when testing NURLs.
2023-03-14 13:01:10 -04:00
Itamar Turner-Trauring
f8ea650b92
Wait for current loop iteration to finish before moving on to next iteration.
2023-03-14 12:03:11 -04:00
Itamar Turner-Trauring
c97e07dc63
Merge pull request #1263 from tahoe-lafs/3959-more-end-to-end-tests
...
More end to end tests
Fixes ticket:3959
2023-03-14 11:31:41 -04:00
dlee
1c926aeb86
Add space to return type
2023-03-13 16:23:28 -05:00
dlee
f1be1ca1de
Added more elements to export list in wormholetesting.py
2023-03-13 14:53:25 -05:00
dlee
041a634d27
Fix private interface import to test_invite
2023-03-13 13:08:32 -05:00
dlee
61c835c8a0
Added missing space between return type
2023-03-13 11:17:01 -05:00
dlee
74ff8cd080
Per-file configuration for wormholetesting.py moved from inline mypy configuration moved to mypy.ini file
2023-03-13 11:04:52 -05:00
Fon E. Noel NFEBE
f9acb56e82
Fix wrong expected val in assertion
...
This is a follow up to 7a387a054e
Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2023-03-12 00:16:41 +01:00
Fon E. Noel NFEBE
7a387a054e
Fix more inverted assertions
...
Just like in 7c3f6cb4c7
This commit corrects some wronly inverted assertions inside
`test/test_storage.py`
Signed-off-by: Fon E. Noel NFEBE <fenn25.fn@gmail.com>
2023-03-11 23:58:58 +01:00
Fon E. Noel NFEBE
3ae574ddef
Merge branch '3917-refactor-test-storage-py' of github.com:Fenn-CS/tahoe-lafs into 3917-refactor-test-storage-py
2023-03-11 20:55:40 +01:00
Fon E. Noel NFEBE
4e6e78f19c
Merge branch 'master' into 3917-refactor-test-storage-py
2023-03-11 20:54:12 +01:00
Jean-Paul Calderone
374d2fc499
Merge pull request #1266 from tahoe-lafs/3965.better-max-size
...
Add more restrictive CBOR content limits to server
Fixes: ticket:3965
2023-03-10 11:13:15 -05:00
Itamar Turner-Trauring
aa18c3418f
Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs
2023-03-10 09:10:02 -05:00
Itamar Turner-Trauring
584127ba10
Merge pull request #1264 from tahoe-lafs/3936.client-can-disable-foolscap
...
Make the client respect the force_foolscap flag
Fixes ticket:3936
2023-03-10 09:04:15 -05:00
Itamar Turner-Trauring
ccf12897f2
Add content limits to server.
2023-03-10 09:02:08 -05:00
Itamar Turner-Trauring
5d7d387593
Pacify mypy.
2023-03-09 13:45:50 -05:00
Itamar Turner-Trauring
56b6dd86c3
Add unit test for client foolscap config flag.
2023-03-09 10:33:21 -05:00
Itamar Turner-Trauring
db445af1c4
Separate flags for forcing foolscap between client and server.
2023-03-09 09:59:36 -05:00
Itamar Turner-Trauring
b43150ba85
Add future import.
2023-03-08 16:48:08 -05:00
Itamar Turner-Trauring
708d54b5fd
Fix use of API removed in 3.11.
2023-03-08 16:42:41 -05:00
dlee
4f47a18c6a
Comments added for inline mypy config. Individual flags used as --strict flag can only be used on a per-module basis.
2023-03-08 15:29:50 -06:00
dlee
10b3eabed4
Apply per file flags corresponding to --strict to wormholetesting.py
2023-03-08 15:19:08 -06:00
dlee
8ccbd37d29
Fix implicit re-export error by importing IWormhole from wormhole library directly
2023-03-08 15:16:03 -06:00
Itamar Turner-Trauring
a61e41d5f9
Document the motivation.
2023-03-08 14:58:52 -05:00
Itamar Turner-Trauring
3702ad6233
Fix indentation.
2023-03-08 14:54:53 -05:00
Itamar Turner-Trauring
4db65ea936
Make tests test _pick_a_http_server more directly.
2023-03-08 14:53:43 -05:00
Itamar Turner-Trauring
0093edcd93
Refactor to use race().
2023-03-08 14:36:37 -05:00
Itamar Turner-Trauring
75da037d67
Add race() implementation from https://github.com/twisted/twisted/pull/11818
2023-03-08 14:25:04 -05:00
Itamar Turner-Trauring
e9c3a227a1
File follow-up ticket.
2023-03-08 14:17:25 -05:00
Itamar Turner-Trauring
9663db522c
Make the client respect the force_foolscap flag, and default to Foolscap-only
...
for now.
2023-03-08 14:03:32 -05:00
Itamar Turner-Trauring
450eed7868
Test writing at an offset.
2023-03-08 11:31:58 -05:00
Itamar Turner-Trauring
cf00c6918c
Merge remote-tracking branch 'origin/master' into 3935-happy-eyeballs
2023-03-08 10:45:55 -05:00
meejah
6c0c9470cf
Merge pull request #1206 from tahoe-lafs/2916.grid-manager-proposal.6
...
Grid Manager: more control over which storage-servers a client uploads to
2023-02-28 19:05:32 +00:00
meejah
8e7f2cd3ea
unused
2023-02-28 10:47:17 -07:00
meejah
5672a28350
more-specific error
2023-02-28 10:43:55 -07:00