Add some overall timeout, and timeout on specific test that seems to be the

issue somehow.
This commit is contained in:
Itamar Turner-Trauring 2021-01-13 10:21:06 -05:00
parent 20e90b4b65
commit 9ca17d780e
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@ import requests
import html5lib
from bs4 import BeautifulSoup
import pytest
def test_index(alice):
"""
@ -175,6 +177,7 @@ def test_deep_stats(alice):
time.sleep(.5)
@pytest.mark.timeout(60)
def test_status(alice):
"""
confirm we get something sensible from /status and the various sub-types

View File

@ -396,6 +396,7 @@ setup(name="tahoe-lafs", # also set in __init__.py
"junitxml",
"tenacity",
"paramiko",
"pytest-timeout",
] + tor_requires + i2p_requires,
"tor": tor_requires,
"i2p": i2p_requires,