mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 09:46:18 +00:00
Timeout if i2pd never starts.
This commit is contained in:
parent
ddca3e9ab8
commit
982ac3cc33
@ -56,7 +56,6 @@ def i2p_network(reactor, temp_dir, request):
|
||||
"--reseed.urls", "http://localhost:1/",
|
||||
),
|
||||
)
|
||||
pytest_twisted.blockon(proto.magic_seen)
|
||||
|
||||
def cleanup():
|
||||
try:
|
||||
@ -66,6 +65,8 @@ def i2p_network(reactor, temp_dir, request):
|
||||
pass
|
||||
request.addfinalizer(cleanup)
|
||||
|
||||
util.block_with_timeout(proto.magic_seen, reactor, timeout=30)
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
@log_call(
|
||||
|
Loading…
x
Reference in New Issue
Block a user