danielfm / pybreaker

Python implementation of the Circuit Breaker pattern.
BSD 3-Clause "New" or "Revised" License
512 stars 74 forks source link

current tests are not fully "deterministic" / have timing issues #4

Open gst opened 9 years ago

gst commented 9 years ago

which can be easily triggered by running the tests under a heavy loaded system.

An easy/possible way to achieve this is to start many(sufficiently) instance of the tests in parallel :

gstarck@taf $ for x in $(seq 20)
> do
> (python setup.py test &> res$x || echo "res$x failed .." ) &
> done | grep -c failed

5
✔ ~/work/public/python/pybreaker [master|…20]
gstarck@taf $