Commit Graph

13224 Commits

Author SHA1 Message Date
Jean-Paul Calderone
82099f04c4 Merge remote-tracking branch 'origin/master' into 3758.refactor.web-tests-grid-logs-root 2021-12-02 08:36:35 -05:00
Jean-Paul Calderone
8626043f61
Merge pull request #1163 from tahoe-lafs/3847.eliot-anybytes-always
Use the "any bytes" encoder even on Python 2

Fixes: ticket:3847
2021-12-01 15:47:16 -05:00
Jean-Paul Calderone
eee1f0975d note about how to clean this up later 2021-12-01 15:16:16 -05:00
Jean-Paul Calderone
90d1e90a14 rewrite the Eliot interaction tests to make expected behavior clearer
and to have explicit assertions about that behavior
2021-12-01 15:05:29 -05:00
Itamar Turner-Trauring
f7975b9772
Merge pull request #1161 from tahoe-lafs/3843-start-http-storage-server
A start at a HTTP-based storage server and client

Fixes ticket:3843
Fixes ticket:3762
2021-12-01 10:18:36 -05:00
Itamar Turner-Trauring
8cf11c9bd3 Merge branch '3843-start-http-storage-server' of github.com:tahoe-lafs/tahoe-lafs into 3843-start-http-storage-server 2021-12-01 09:41:08 -05:00
Jean-Paul Calderone
8b25adf2cc
Merge pull request #1155 from tahoe-lafs/3527.test_create-no-mock
Remove mock usage from the `test_create` module

Fixes: ticket:3527
2021-12-01 09:39:55 -05:00
Itamar Turner-Trauring
18a5966f1d Don't bother running HTTP server tests on Python 2, since it's going away any
day now.
2021-12-01 09:38:56 -05:00
Itamar Turner-Trauring
d985d10622
Update nix/cbor2.nix
Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
2021-12-01 09:24:03 -05:00
Jean-Paul Calderone
c1a2964788 Merge remote-tracking branch 'origin/master' into 3527.test_create-no-mock 2021-11-30 15:06:17 -05:00
Itamar Turner-Trauring
f2b52f368d Another way. 2021-11-30 13:58:22 -05:00
Itamar Turner-Trauring
136bf95bdf Simpler way. 2021-11-30 13:58:02 -05:00
Itamar Turner-Trauring
2f4d1079aa Needs setuptools_scm 2021-11-30 13:51:36 -05:00
Itamar Turner-Trauring
c65a13e632 Rip out klein, maybe not necessary. 2021-11-30 13:47:28 -05:00
Itamar Turner-Trauring
1fc77504ae List dependencies. 2021-11-30 13:39:42 -05:00
Itamar Turner-Trauring
b01478659e Apparently I generated wrong hashes. 2021-11-30 13:18:18 -05:00
Jean-Paul Calderone
7626a02bdb remove redundant assertion 2021-11-29 13:43:27 -05:00
Jean-Paul Calderone
20e0626e42 add capture_logging that parameterizes JSON encoder 2021-11-29 13:43:27 -05:00
Jean-Paul Calderone
3eb1a5e7cb Add a MemoryLogger that prefers our encoder
and use it instead of Eliot's
2021-11-29 13:43:27 -05:00
Jean-Paul Calderone
f40da7dc27 Put the choice of JSON encoder for Eliot into its own module
and use it in a few places
2021-11-29 13:43:27 -05:00
Jean-Paul Calderone
66a0c6f3f4 add a direct test for the non-utf-8 bytestring behavior 2021-11-29 13:43:27 -05:00
Jean-Paul Calderone
5fef83078d news fragment 2021-11-29 13:08:11 -05:00
Itamar Turner-Trauring
30511ea850 Add more build inputs. 2021-11-23 11:40:11 -05:00
Itamar Turner-Trauring
c936602a70
Merge pull request #1162 from tahoe-lafs/3807.immutable-upload-timeout
Immutable uploads time out if no writes are done for 30 minutes

Fixes ticket:3807
2021-11-23 11:01:26 -05:00
Itamar Turner-Trauring
8abc1ad8f4 cbor2 for Python 2 on Nix. 2021-11-23 10:44:45 -05:00
Itamar Turner-Trauring
a593095dc9 Explain why it's a conditional import. 2021-11-23 10:39:53 -05:00
Itamar Turner-Trauring
c921b153f4 A better name for the API. 2021-11-23 10:39:15 -05:00
Itamar Turner-Trauring
6c514dfda5 Add klein. 2021-11-23 10:33:45 -05:00
Itamar Turner-Trauring
c341a86abd Correct the comment. 2021-11-23 10:01:03 -05:00
Itamar Turner-Trauring
4c11177387 Fix a problem with typechecking.
Using remote_write() isn't quite right given move to HTTP, but can fight that
battle another day.
2021-11-18 15:58:55 -05:00
Itamar Turner-Trauring
e2636466b5 Fix a flake. 2021-11-18 15:47:25 -05:00
Itamar Turner-Trauring
bd645edd9e Fix flake. 2021-11-18 15:44:51 -05:00
Itamar Turner-Trauring
5d915afe1c Clean up BucketWriters on shutdown (also preventing DelayedCalls leaks in tests). 2021-11-18 15:42:54 -05:00
Itamar Turner-Trauring
1827faf36b Fix issue with leaked-past-end-of-test DelayedCalls. 2021-11-18 14:45:44 -05:00
Itamar Turner-Trauring
8c8e377466 Implement timeout and corresponding tests. 2021-11-18 14:35:04 -05:00
Itamar Turner-Trauring
5e341ad43a New tests to write. 2021-11-17 11:29:34 -05:00
Itamar Turner-Trauring
45c00e93c9 Use clock in BucketWriter. 2021-11-17 11:12:40 -05:00
Itamar Turner-Trauring
bf7d03310f Hide all _trial_temp. 2021-11-17 11:09:45 -05:00
Itamar Turner-Trauring
92c36a67d8 Use IReactorTime instead of ad-hoc solutions. 2021-11-17 11:01:04 -05:00
Itamar Turner-Trauring
6a78703675 News file. 2021-11-17 10:53:51 -05:00
Jean-Paul Calderone
d3c6f58a8d
Merge pull request #1160 from tahoe-lafs/3842.allocate_buckets-without-lease-renewal
Allow allocate_buckets without implicit lease renewal

Fixes: ticket:3842
2021-11-16 18:26:13 -05:00
Itamar Turner-Trauring
f549488bb5 Don't use a deprecated API. 2021-11-16 11:47:09 -05:00
Itamar Turner-Trauring
a1424e90e1 Another duplicate. 2021-11-16 11:34:44 -05:00
Itamar Turner-Trauring
e5b5b50602 Duplicate package. 2021-11-16 11:28:19 -05:00
Itamar Turner-Trauring
a64778ddb0 Flakes. 2021-11-16 11:28:13 -05:00
Itamar Turner-Trauring
c195f895db Python 2 support. 2021-11-16 11:16:26 -05:00
Itamar Turner-Trauring
171d1053ec CBOR content-type on responses. 2021-11-16 11:09:17 -05:00
Itamar Turner-Trauring
671b670154 Some type annotations. 2021-11-16 11:09:08 -05:00
Itamar Turner-Trauring
41ec63f758 Passing first tests. 2021-11-16 10:56:21 -05:00
Itamar Turner-Trauring
fe6a2f6f02
Merge pull request #1146 from tahoe-lafs/3820.gbs-immutable-upload-session
Use an upload secret for GBS immutable uploads

Fixes ticket:3820
Fixes ticket:3826
2021-11-16 10:45:48 -05:00