#3800 closed task (fixed)

Test suite for IStorageServer: leases

Reported by: itamarst Owned by: itamarst
Priority: normal Milestone: HTTP Storage Protocol
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

In order to test the lease functionality in IStorageServer:

  1. Tests will need to call the get_leases() and get_slot_leases() on the storage server, the interface itself has no way to check this information.
  2. A number of classes will need to be switched to support fake time, e.g. LeaseInfo?. Alternatively, patching could be used :(

Change History (2)

comment:1 Changed at 2021-10-18T16:45:03Z by itamarst

Maybe can get away with very short sleep? Will see.

comment:2 Changed at 2021-10-21T18:37:50Z by GitHub <noreply@…>

  • Resolution set to fixed
  • Status changed from new to closed

In 211640a/trunk:

Merge pull request #1143 from tahoe-lafs/3800-lease-istorageserver-tests

IStorageServer tests for leases

Fixes ticket:3800

Note: See TracTickets for help on using tickets.