Commit Graph

14973 Commits

Author SHA1 Message Date
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
7bdfed6434 News fragment. 2023-03-08 11:55:30 -05:00
Itamar Turner-Trauring
5dc108dfe8 Test large immutable upload and download. 2023-03-08 11:38:31 -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
meejah
b28ac6118b different way to say 'all items okay' 2023-02-28 10:43:49 -07:00
Jean-Paul Calderone
7c3f6cb4c7
Fix inverted assertion 2023-02-28 07:55:43 -05:00
meejah
aed5061a96
wording
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:33:53 -07:00
meejah
d55a4a1e65
whitespace
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:32:16 -07:00
meejah
9f63441af6
types
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:31:39 -07:00
meejah
1587a71bba
spelling
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-27 17:26:06 -07:00
dlee
582876197a Added default check to verify to ensure strictness 2023-02-27 15:14:58 -06:00
dlee
af51b02228 Revert wait_for_wormhole function return type back to Awaitable for forward compatibility when we move to async def 2023-02-27 15:05:52 -06:00
Itamar Turner-Trauring
3d0b17bc1c Make cancellation more likely to happen. 2023-02-27 12:10:56 -05:00
Itamar Turner-Trauring
4981864f8f
Merge pull request #1250 from tahoe-lafs/3957-mutable-over-http-speed
Run CDDL validation in a thread
2023-02-27 09:21:27 -05:00
Itamar Turner-Trauring
5640b6b5e7 Apparently tests can be async now. 2023-02-24 10:59:59 -05:00
Itamar Turner-Trauring
2f6632ecb9 Improve type checking. 2023-02-24 10:58:22 -05:00
Itamar Turner-Trauring
e09d19463d Logging errors breaks some tests. 2023-02-24 09:53:28 -05:00
Itamar Turner-Trauring
96e1e9ffac Move where choosing a NURL happens. 2023-02-23 19:45:01 -05:00
meejah
a6a2eb1c93
export it too
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2023-02-23 15:37:46 -07:00
Itamar Turner-Trauring
b95a1d2b79 Nicer type annotations. 2023-02-23 13:27:41 -05:00
Itamar Turner-Trauring
b6e20dfa81 Slightly longer timeout. 2023-02-23 13:27:33 -05:00
Itamar Turner-Trauring
99de5fa54c Link to follow-up ticket. 2023-02-23 10:12:25 -05:00
Itamar Turner-Trauring
f41f4a5e0c Correct type. 2023-02-23 10:10:25 -05:00
Itamar Turner-Trauring
74e77685a3 Get rid of DeferredList. 2023-02-23 10:07:57 -05:00
meejah
6aff94dd8f flake8, more frozen 2023-02-22 00:15:32 -07:00
meejah
c587c9ed19 Merge branch '2916.grid-manager-proposal.6' of https://github.com/tahoe-lafs/tahoe-lafs into 2916.grid-manager-proposal.6 2023-02-21 23:21:09 -07:00
meejah
0ae7da7352 prop up the fragile scaffolding 2023-02-21 23:20:28 -07:00
meejah
69a480dc08 rewrite test 2023-02-21 18:44:09 -07:00
meejah
fb10e13c68 might want to use these at parse time 2023-02-21 18:16:45 -07:00
meejah
70459cfbf1 use possibly-overriden stderr 2023-02-21 16:47:58 -07:00
meejah
6ee5c75880 comment -> ticket 2023-02-21 16:13:11 -07:00
meejah
00ef4661a6 ISO dates, not seconds 2023-02-21 16:06:24 -07:00
meejah
d91bfcb1d2 clarify 2023-02-21 14:38:43 -07:00
meejah
82045b4298 store signature as raw bytes, not base32 2023-02-21 14:19:44 -07:00
meejah
1b6d5e1bda Revert "use attrs directly"
This reverts commit 5b14561ec0.
2023-02-21 11:56:46 -07:00
Itamar Turner-Trauring
32768e310a Unit test for _pick_a_http_server. 2023-02-21 11:30:47 -05:00
Itamar Turner-Trauring
2ac6580c26 Welcome to the world of tomorrow. 2023-02-21 11:00:14 -05:00