~fwereade/pyjuju/go-fix-deploy-doc

  • Committer: William Reade
  • Author(s): William Reade
  • Date: 2012-05-31 07:37:00 UTC
  • mfrom: (187.1.6 go)
  • Revision ID: fwereade@gmail.com-20120531073700-6cpw3rhwtaxu8qdd
Allow dummy environs to use zookeeper state

As in python, we don't want to have to bring up and tear down a zookeeper
server for every test we run against a dummy environment, so this CL
provides a mechanism for sharing a single zookeeper across multiple tests
against "different" environments.

This is done with a SetZookeeper func in the dummy package, which allows
the environ's StateInfo method to return a *state.Info pointing at that
zookeeper. Assuming the "zookeeper" config setting is set, and "isBroken"
is not, Bootstrap will initialize state and Reset will clear it; when
"zookeeper" is set to false, it should act entirely as before.

R=rog, niemeyer
CC=
https://codereview.appspot.com/6244060
Filename Latest Rev Last Changed Committer Comment Size
..
charm 11 12 years ago Gustavo Niemeyer Applied the juju/charm renaming to the Go code bas Diff
cloudinit 25.2.1 12 years ago Roger Peppe add cloudinit package Diff
cmd 37.3.14 12 years ago William Reade hefty rearrangement, few actual changes Diff
environs 25.5.4 12 years ago Roger Peppe rename environ->environs Diff
juju 37.3.14 12 years ago William Reade hefty rearrangement, few actual changes Diff
log 20.1.1 12 years ago Mathieu Lonjaret logger: use global vars, becomes a package Diff
schema 1 12 years ago Gustavo Niemeyer Bootstrapped package. Diff
state 32.1.1 12 years ago Frank Mueller Initial adding of state for review. Diff
store 11.3.1 12 years ago Gustavo Niemeyer Bootstrapping store package. Diff
testing 83.1.2 12 years ago William Reade renamed testutils; broke it in anticipation of goz Diff
version 124.2.2 12 years ago Roger Peppe version: simplify Diff
.bzrignore 82.1.4 12 years ago Gustavo Niemeyer Applied review comments. 46 bytes Diff Download File
.lbox 35.1.1 12 years ago Gustavo Niemeyer Remove all.bash and fixed syntax of .lbox. 28 bytes Diff Download File