lp:~fwereade/juju-core/strawman-state-test-simplification

Created by William Reade and last modified
Get this branch:
bzr branch lp:~fwereade/juju-core/strawman-state-test-simplification
Only William Reade can upload to this branch. If you are William Reade please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
William Reade
Project:
juju-core
Status:
Development

Recent revisions

768. By William Reade

tighten up AssignSuite using new additions to ConnSuite

767. By Ian Booth

Add more OpenStack provider implementation

This branch starts with the initial stub OpenStack provider and fleshes out more infrastructure and code. Initial impementations of Environ methods
Instances() and AllInstances() are done, as well as a bunch more boilerplate to glue in the provider config etc.

The relevant goose library APIs are used to access a live Canonistack instance. For the purpose of the live tests, test server instances are create and destroyed. At the
moment, a knowm image is used to create the servers.

There is at least one limitation in the underlying goose nova client which needs to be addressed - the ability to filter the results returned by ListServers(). This
is required to exclude deleted and other irrelevant servers from AllInstances() but there is no support yet for this in goose.

I've also restructured the initial tests to hook into the juju test infrastructure so that the standard juju tests are run with this OpenStack provider. Of course,
they currently fail but will pass as soon as all of the provider methods are done. I've also included individual tests for each implemented API in the provider's
live test module. These compliment the juju tests which in this case appear more integration rather than unit focussed.

R=niemeyer
CC=
https://codereview.appspot.com/6874049

766. By Dave Cheney

version: set development version to 1.9.4

R=
CC=
https://codereview.appspot.com/6869047

765. By Dave Cheney

environs/ec2: specify public-bucket-region

Fixes LP #1083017

Our public bucket, juju-dist, lives in the us-east-1 region and can only be accessed via that endpoint. If you attempt to do so via another endpoint you get an unhelpful 301 error with an xml blob telling you how to request the bucket. The solution is to add a configuration option, with sensible default, to ec2/config.go to specify the region of the public bucket independantly of the private bucket.

R=jameinel, niemeyer
CC=
https://codereview.appspot.com/6854098

764. By William Reade

firewaller: skip flaky test

Note that the test itself is bascially fine; it exposes problems with the
firewaller initialization, which need to be addressed, but which would
respond well to expert attention.

R=TheMue, niemeyer
CC=
https://codereview.appspot.com/6849126

763. By William Reade

state: UnitsWatcher always reports dead units

...instead of skipping them in the initial event, which is not helpful
behaviour.

R=niemeyer
CC=
https://codereview.appspot.com/6846133

761. By William Reade

state: MachineUnitsWatcher unwatches correct units

This means that stopped MUWs no longer end up blocking the watcher. To help
detect problems like this more easily in future, the watcher package now
panics when unwatching an unknown key.

And I fixed RelationScopeWatcher, which was using the old'n'busted double-
loop style, and replaced "changeChan"s with "out"s for those watchers that
I expect to continue to exist (ie not MachinePrincipalUnitsWatcher). Sorry,
I couldn't resist.

R=ricky.kernberger
CC=
https://codereview.appspot.com/6856122

760. By Roger Peppe

various: use TLS

This enables TLS for everything.

R=fwereade, jameinel, niemeyer
CC=
https://codereview.appspot.com/6856105

759. By Roger Peppe

environs/jujutest: fix test

LiveTests.TestStartStop did not work when called
with an already-bootstrapped environment.
Coincidentally, LiveTests.TestDestroy was
always called after the only other test to bootstrap,
so running all the tests worked.

R=TheMue, gz
CC=
https://codereview.appspot.com/6850121

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~juju/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers