Commit Graph

12831 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
86ea3ca408 Demonstrate that last write wins. 2021-09-13 09:49:27 -04:00
Itamar Turner-Trauring
e96c22914b Fix typo. 2021-09-13 09:43:53 -04:00
Itamar Turner-Trauring
d04cd13b37 Actual test for get_version(). 2021-09-13 09:43:29 -04:00
Itamar Turner-Trauring
a482f216a1 Use more reproducible "random" numbers. 2021-09-13 09:40:32 -04:00
Itamar Turner-Trauring
b01c5c7454 Clarify argument names. 2021-09-13 09:35:52 -04:00
Itamar Turner-Trauring
1fa0f72c8e Use AsyncTestCase. 2021-09-13 09:28:03 -04:00
Itamar Turner-Trauring
b0d635c9c9 Use skip decorator. 2021-09-13 09:15:20 -04:00
Itamar Turner-Trauring
a2d54aa8bc .todo isn't working on Python 2 for some reason. 2021-09-08 14:14:36 -04:00
Itamar Turner-Trauring
44388037df Flakes, and closer to passing on Python 2. 2021-09-08 14:12:32 -04:00
Itamar Turner-Trauring
f3cb42d9a8 News file. 2021-09-08 13:52:51 -04:00
Itamar Turner-Trauring
c1b1ed0dc3 More tests. 2021-09-08 13:52:34 -04:00
Itamar Turner-Trauring
3bec2a480f Start on allocate_bucket tests. 2021-09-08 12:20:27 -04:00
Itamar Turner-Trauring
855d02bef0 Start thinking about immutable tests. 2021-09-08 11:26:52 -04:00
Itamar Turner-Trauring
51b1e5624a Skeleton setting up the test infrastructure. 2021-09-03 14:04:10 -04:00
Jean-Paul Calderone
1819e080a0
Merge pull request #1116 from LeastAuthority/3769.gbs-immutable-upload-spec-improvements
Some GBS immutable upload spec improvements

Fixes: ticket:3769
2021-09-02 16:21:20 -04:00
Jean-Paul Calderone
ae9ec48e13 news fragment 2021-09-02 13:19:49 -04:00
Jean-Paul Calderone
61b5c88738 reveal to clients what data is still required
This lets a client recover from an upload that completes but for which the
response is lost (eg because network error or client restart)
2021-09-02 13:16:20 -04:00
Jean-Paul Calderone
16af282c19 Clarify chunking; lift ordering requirement; document response status 2021-09-02 13:11:51 -04:00
Itamar Turner-Trauring
056ee58e91
Merge pull request #1110 from tahoe-lafs/3773.just-add-lease
Get rid of renew_lease client code, in order to simplify the protocol

Fixes ticket:3773
2021-09-01 10:44:41 -04:00
Itamar Turner-Trauring
e6803670d1 Improve explanations. 2021-08-30 16:54:44 -04:00
Itamar Turner-Trauring
e408322c3d Use the correct APIs. 2021-08-30 16:51:36 -04:00
Itamar Turner-Trauring
7d32335353 Clarify and remove duplication. 2021-08-30 16:49:11 -04:00
Jean-Paul Calderone
bbc860fdb1
Merge pull request #937 from LeastAuthority/3528.test_cli-no-mock
Remove mock from test_cli

Fixes: ticket:3528
2021-08-30 14:30:27 -04:00
Itamar Turner-Trauring
62a096dfe2 Merge remote-tracking branch 'origin/master' into 3773.just-add-lease 2021-08-24 12:22:21 -04:00
May-Lee Sia
2a7e3b3f09
Merge pull request #1111 from Fenn-CS/3563.allmydata-node-catch-port-configs
Catch all port configurations
2021-08-24 17:21:05 +02:00
fenn-cs
7a88b5ddae removed unnecessary comment in minor newsfragment
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-24 13:05:11 +01:00
fenn-cs
398fe537e8 added \n in newfragment file
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-23 02:48:24 +01:00
fenn-cs
117befd898 detect all port 0 configs
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2021-08-23 02:34:32 +01:00
Itamar Turner-Trauring
11331ddf82 Update examples to lack of separate renewal endpoint. 2021-08-20 11:17:20 -04:00
Itamar Turner-Trauring
370d1ddafe Fix flake. 2021-08-20 08:20:24 -04:00
Itamar Turner-Trauring
1b5a3c9cb1 Bad merge, I think. 2021-08-19 16:49:01 -04:00
Itamar Turner-Trauring
b9fd9dec02 Merge remote-tracking branch 'origin/master' into 3773.just-add-lease 2021-08-19 16:48:03 -04:00
Itamar Turner-Trauring
442d61da7d Get rid of separate renewal of leases in HTTP API. 2021-08-19 16:44:05 -04:00
Itamar Turner-Trauring
59fab99d9d Nothing uses RIStorageServer.renew_lease, so removing it is simple. 2021-08-19 16:40:45 -04:00
Itamar Turner-Trauring
0016369025 News file. 2021-08-19 16:07:03 -04:00
Jean-Paul Calderone
9a5c417df0
Merge pull request #1108 from LeastAuthority/3763.gbs-lease-endpoint-items
Clarify some of the GBS "create lease" endpoint specification

Fixes: ticket:3763
2021-08-19 15:02:59 -04:00
Itamar Turner-Trauring
d599568c79 Tests validating that the operation for adding a lease will renew the lease
instead if it already exists.
2021-08-19 13:56:13 -04:00
Itamar Turner-Trauring
dfff187ad0 Make time pluggable to support better testing. 2021-08-19 13:23:01 -04:00
Jean-Paul Calderone
03c633cda0 news fragment 2021-08-19 10:28:17 -04:00
Jean-Paul Calderone
602d4c5a91 improve the "create lease" endpoint
* Simplify some language using terms from our new glossary
* explicitly state the two success-case behaviors
* make the error-case behavior different from the success-case behavior
* link to some tickets about future work in this area
2021-08-19 10:26:45 -04:00
Jean-Paul Calderone
ff6fa4a922
Merge pull request #1106 from LeastAuthority/3765.gbs-glossary
Start a GBS glossary

Fixes: ticket:3765
2021-08-18 16:45:26 -04:00
Jean-Paul Calderone
28758b8181
Merge pull request #1105 from LeastAuthority/3764.gbs-interaction-patterns
Add some GBS interaction examples

Fixes: ticket:3764
2021-08-18 11:05:59 -04:00
Jean-Paul Calderone
c5a03f4116 elaborate on `already-have and allocated` somewhat 2021-08-18 10:17:48 -04:00
Jean-Paul Calderone
0f78d8df25 a glossary 2021-08-17 14:58:34 -04:00
Jean-Paul Calderone
49300fc080 news fragment 2021-08-17 14:58:30 -04:00
Jean-Paul Calderone
47dfe5d4f0 fix typo 2021-08-17 14:11:08 -04:00
Jean-Paul Calderone
65f71135e1 Spell the endpoint correctly 2021-08-17 14:10:50 -04:00
Jean-Paul Calderone
23212fc816 add some example client/server interactions 2021-08-17 14:01:44 -04:00
Jean-Paul Calderone
a591c2c36d news fragment 2021-08-17 10:23:37 -04:00
Jean-Paul Calderone
561429ff5b
Merge pull request #1102 from LeastAuthority/3760.run-codechecks3
Try to run codechecks3 on CI

Fixes: ticket:3760
2021-08-13 09:47:49 -04:00