Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix a watcher race that was in the ControllerAddressesSuite. #11313
It looks like the two WatchAPIHostPorts tests were moved from state_test.go
The StateSuite had the WaitForModelWatchersIdle at the end of the setup,
The StateSuite was also reading the model from the database, but this was
It looks like the two WatchAPIHostPorts tests were moved from state_test.go around nine months ago, but somehow we ended up with both. I have removed the copy that was in the state_test file. The StateSuite had the WaitForModelWatchersIdle at the end of the setup, but the ControllerAddressesSuite didn't. This allowed for initial creation events to still be propagating through the system when the tests started.
#11314 ## Description of change Merge 2.7 bringing in these PRs: #11286 speed up juju status by handling units better #11296 fix LP:1860083 machine availability zone #11291 various refactorings (method renames, tools finder/getter handle k8s broker) #11297 juju show-action-status not listing all #11300 k8s controllers can start lxd containers #11304 protect against nil profile from the charm #11310 speed up processing of machines in juju status #11306 ensure k8s juju upgrades select correct agent version #11313 fix watcher race in ControllerAddressSuite #11302 fix LP:1866658 jujud called in makefile before it is built ## QA steps Run unit tests