mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
Speed the tests back up
This commit is contained in:
parent
34b5068f5c
commit
9f4be1fbf0
@ -511,7 +511,13 @@ def make_broker(tub_maker=None):
|
||||
client configuration.
|
||||
"""
|
||||
if tub_maker is None:
|
||||
tub_maker = lambda handler_overrides: Tub()
|
||||
# Use a pre-generated key so the tests don't spend a lot of time
|
||||
# generating new ones.
|
||||
data = FilePath(__file__).sibling(b"data")
|
||||
privkey = data.child(b"node.pem")
|
||||
tub_maker = lambda handler_overrides: Tub(
|
||||
certData=privkey.getContent(),
|
||||
)
|
||||
return StorageFarmBroker(True, tub_maker, EMPTY_CLIENT_CONFIG)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user