Files
deb-python-taskflow/taskflow
Ivan A. Melnikov 98e5950a4c tests: Discover absence of zookeeper faster
It turns out that when no zookeeper server is available for tests
python ./setup.py test spends almost half of it's running time
looking for it. This change addresses that and makes unit tests
run roughly two times faster on my zookeeperless machine:

- client starting timeout reduced from default 15 seconds to 3 seconds,
  which should be more than enough to connect to localhost;
- zookeeper availability is checked only once, on module import,
  and then saved for later re-use.

Change-Id: I11932e7cca12436cde0bcf0a20cb2adb96fbb27a
2014-03-27 12:00:22 +04:00
..
2014-03-24 20:42:30 -07:00
2014-03-26 16:23:34 -07:00
2014-03-24 20:42:30 -07:00
2014-02-22 17:16:29 +08:00
2014-03-26 16:05:06 +00:00
2014-03-21 11:11:15 +04:00
2014-03-24 20:42:30 -07:00