make: timeout on unit tests

We aren't close to hitting this timeout in unit tests that I can see,
but some of the asyncio tests I'm writing for now risk a hang and I
don't want to get CI stuck.
This commit is contained in:
Dan Bungert 2023-03-10 15:58:05 -07:00
parent 91fe266b34
commit 88a1fbd4ba
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ flake8:
.PHONY: unit
unit: gitdeps
timeout 120 \
$(PYTHON) -m pytest --ignore curtin --ignore probert \
--ignore subiquity/tests/api