Skip to content

Commit

Permalink
Problem: make unit-test-watch loops forever (#2486)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vrde authored and kansi committed Aug 29, 2018
1 parent 407b771 commit 3f7b521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
testpaths = tests/
norecursedirs = .* *.egg *.egg-info env* devenv* docs
addopts = -m tendermint
looponfailroots = bigchaindb tests

0 comments on commit 3f7b521

Please sign in to comment.