mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
Add some overall timeout, and timeout on specific test that seems to be the
issue somehow.
This commit is contained in:
parent
20e90b4b65
commit
9ca17d780e
@ -21,6 +21,8 @@ import requests
|
|||||||
import html5lib
|
import html5lib
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
|
||||||
def test_index(alice):
|
def test_index(alice):
|
||||||
"""
|
"""
|
||||||
@ -175,6 +177,7 @@ def test_deep_stats(alice):
|
|||||||
time.sleep(.5)
|
time.sleep(.5)
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.timeout(60)
|
||||||
def test_status(alice):
|
def test_status(alice):
|
||||||
"""
|
"""
|
||||||
confirm we get something sensible from /status and the various sub-types
|
confirm we get something sensible from /status and the various sub-types
|
||||||
|
1
setup.py
1
setup.py
@ -396,6 +396,7 @@ setup(name="tahoe-lafs", # also set in __init__.py
|
|||||||
"junitxml",
|
"junitxml",
|
||||||
"tenacity",
|
"tenacity",
|
||||||
"paramiko",
|
"paramiko",
|
||||||
|
"pytest-timeout",
|
||||||
] + tor_requires + i2p_requires,
|
] + tor_requires + i2p_requires,
|
||||||
"tor": tor_requires,
|
"tor": tor_requires,
|
||||||
"i2p": i2p_requires,
|
"i2p": i2p_requires,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user