4139: Fix race condition in Node Manager tests.
authorBrett Smith <brett@curoverse.com>
Wed, 22 Oct 2014 18:28:45 +0000 (14:28 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 22 Oct 2014 18:29:02 +0000 (14:29 -0400)
commit58ead50fe4b7014562c0697290cf933a956ab852
tree31c4c9339de29f1e10fc52220e663f4c227204eb
parent5870334b03237f04df6de35193f78b838f7ac7dc
4139: Fix race condition in Node Manager tests.

Get a reference to the monitor mock earlier, before the daemon starts
working with it.  Otherwise, we might get inconsistent state results.

Refs #4139.
services/nodemanager/tests/test_daemon.py