cleanUp does not wait until daemon is actually dead
Bug #1222711 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txfixtures |
Fix Released
|
High
|
Colin Watson |
Bug Description
The TacTestFixture's killTac method does not wait until the daemon is really dead. This can cause tests to fail intermittently, where operations succeed that are supposed to be failing.
My work around:
def shutdown(self):
while self._hasDaemon
To post a comment you must log in.
Fixed in txfixtures 0.4.3 (https:/ /github. com/testing- cabal/txfixture s/pull/ 13), and I've removed the workaround from Launchpad as well (https:/ /code.launchpad .net/~cjwatson/ launchpad/ +git/launchpad/ +merge/ 379456).