mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
Plan of implementation for lease tests.
This commit is contained in:
parent
4c7e50360c
commit
58112ba75b
0
newsfragments/3800.minor
Normal file
0
newsfragments/3800.minor
Normal file
@ -444,6 +444,10 @@ class IStorageServerImmutableAPIsTestsMixin(object):
|
||||
b"immutable", storage_index, 0, b"ono"
|
||||
)
|
||||
|
||||
# TODO allocate_buckets creates lease
|
||||
# TODO add_lease renews lease if existing storage index and secret
|
||||
# TODO add_lease creates new lease if new secret
|
||||
|
||||
|
||||
class IStorageServerMutableAPIsTestsMixin(object):
|
||||
"""
|
||||
@ -820,6 +824,12 @@ class IStorageServerMutableAPIsTestsMixin(object):
|
||||
b"mutable", storage_index, 0, b"ono"
|
||||
)
|
||||
|
||||
# TODO STARAW creates lease for new data
|
||||
# TODO STARAW renews lease if same secret is used on existing data
|
||||
# TODO STARAW creates new lease for existing data if new secret is given
|
||||
# TODO add_lease renews lease if existing storage index and secret
|
||||
# TODO add_lease creates new lease if new secret
|
||||
|
||||
|
||||
class _FoolscapMixin(SystemTestMixin):
|
||||
"""Run tests on Foolscap version of ``IStorageServer."""
|
||||
|
Loading…
Reference in New Issue
Block a user