ZooKeeper should be managed by tests

Bug #641482 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
High
Jim Baker

Bug Description

Right now we're running tests against a hand-managed zookeeper. While this works, we're also constantly getting failed tests due to improper state inside zookeeper which was left around by a previously interrupted test. Rather than having to figure the problem by hand, and then resetting the state by hand too, the zookeeper server should be managed by a base class which is in charge of starting and stopping it, and resetting it whenever things go wrong.

The test zookeeper should run in a non-standard port, so that there's no danger of a test run ever killing a real deployment state.

This is being marked as high because we're constantly running into the interrupted test problem, and wasting time with it.

Related branches

Changed in ensemble:
status: New → Confirmed
importance: Undecided → High
Changed in ensemble:
assignee: nobody → Jim Baker (jimbaker)
Jim Baker (jimbaker)
Changed in ensemble:
status: Confirmed → In Progress
Jim Baker (jimbaker)
Changed in ensemble:
status: In Progress → Fix Committed
Jim Baker (jimbaker)
Changed in ensemble:
status: Fix Committed → In Progress
Jim Baker (jimbaker)
Changed in ensemble:
status: In Progress → Fix Committed
Changed in ensemble:
milestone: none → 0.3
Changed in ensemble:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.