Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fix intermittent test bug #1552589. #4614
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Does not match ['fixes-1551276'] |
|
$$merge$$ JFDI |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added a commit
that referenced
this pull request
Mar 7, 2016
jujubot
merged commit c17aa73
into
juju:master
Mar 7, 2016
added a commit
to anastasiamac/juju
that referenced
this pull request
Mar 15, 2016
anastasiamac
referenced this pull request
Mar 15, 2016
Merged
1.25 backport of jameinel/fix-lp1552589 #4724
added a commit
that referenced
this pull request
Mar 22, 2016
jameinel
deleted the
jameinel:fix-lp1552589-intermittent-TestProvisionerObservesMachineJobs
branch
Dec 13, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jameinel commentedMar 3, 2016
It was possible to change the configuration before the provisioner task
was started, and thus there was never any change to observe.
Now we always observer the initial config. It means the test itself
is slightly weaker, because sometimes we never observer the change,
but at least the test doesn't accidentally fail.
A better fix would be to wait to change the config until you know
that the config has already been seen. However, we can't do that
via the Observer interface, because there is a race that we
could have already started the Task before we get a chance to
set the observer.
(Review request: http://reviews.vapour.ws/r/4054/)