apiserver: TestAgentConnectionsShutDownWhenStateDies is very slow
Bug #1497229 reported by
Andrew Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
This test takes 60s to run (on my machine; should be more or less the same on any machine). I've investigated the issue, and found that it's due to the presence pinger on connection termination.
What happens is this:
1. test kills mongo
2. apiserver's mongo pinger finds mongo is dead, initiates connection termination
3. connection termination code runs resource cleanups
4. machine pinger resource's cleanup calls the presence pinger's Stop(), and then Kill() methods
The presence.
Changed in juju-core: | |
milestone: | 1.26.0 → 2.0-alpha1 |
Changed in juju-core: | |
milestone: | 2.0-alpha1 → 1.26-alpha3 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Probably what we should do is, when the mongo connection is known to be dead, not attempt to Kill() the presence.