Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
firewaller: egress watcher fixes #8149
Conversation
axw
added some commits
Nov 28, 2017
|
$$merge$$ |
|
Status: merge request accepted. Url: http://ci.jujucharms.com/job/github-merge-juju |
jujubot
merged commit e5f69ac
into
juju:develop
Nov 29, 2017
1 check passed
continuous-integration/jenkins/pr-merge
This commit looks good
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedNov 28, 2017
•
Edited 1 time
-
axw
Nov 28, 2017
Description of change
The firewaller's egress address watcher has
been changed to wait for the initial event
of each watcher before doing sending any
output. It was previously waiting for some
initial events, but missed the relation units.
Due to this, tests would intermittently fail.
By waiting for the initial event of each
watcher, we can also eliminate the explicit
initialisation step in the watcher.
Also, fix a bug in the firewaller's egress
address watcher, where the embedded
machine address watcher was performing
bare channel sends. During worker
termination, this could lead to deadlock
(and was causing tests to timeout).
QA steps
(check that they become functional)
Documentation changes
None.
Bug reference
None.