mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: make unit-test-watch loops forever (#2486)
Solution: BigchainDB by default writes logs in the same directory it is run. The `looponfail` feature provided by pytest waits for changes in the current directory, so it is continuously triggered. This patch tells pytest to only watch the `bigchaindb` and `tests` directories.
This commit is contained in:
parent
407b771185
commit
3f7b521809
@ -2,3 +2,4 @@
|
|||||||
testpaths = tests/
|
testpaths = tests/
|
||||||
norecursedirs = .* *.egg *.egg-info env* devenv* docs
|
norecursedirs = .* *.egg *.egg-info env* devenv* docs
|
||||||
addopts = -m tendermint
|
addopts = -m tendermint
|
||||||
|
looponfailroots = bigchaindb tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user