Plan of implementation for lease tests.

This commit is contained in:
Itamar Turner-Trauring 2021-10-18 12:50:29 -04:00
parent 4c7e50360c
commit 58112ba75b
2 changed files with 10 additions and 0 deletions

0
newsfragments/3800.minor Normal file
View File

View 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."""