test_remembers_relation_removes fails when run alone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned |
Bug Description
When run as a single test test_remembers_
$ ./test juju.unit.
Using system zookeeper classpath from /etc/zookeeper/
juju.
UnitLifec
===
[FAIL]
Traceback (most recent call last):
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/home/
File "/usr/lib/
File "/usr/lib/
"did not catch an error, instead got %r" % (ignore,))
twisted.
juju.
---
Ran 1 tests in 1.089s
FAILED (failures=1)
However, running the whole test class passes:
$ ./test juju.unit.
...
Ran 18 tests in 10.483s
PASSED (successes=18)
This suggests the test is not well isolated, or otherwise depends on specific reactor behaviour quirks.
The test also fails sometimes on older ubuntu versions on the buildbots, which may or may not be related:
===
[ERROR]
Traceback (most recent call last):
Failure: zookeeper.
juju.
---