Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4478)

Issue 5841047: testing: add ZkRemoveTree function.

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by rog
Modified:
12 years, 1 month ago
Reviewers:
mp+97865
Visibility:
Public.

Description

It's useful for cleaning zk state between tests and it was in danger of having three separate implementations. https://code.launchpad.net/~rogpeppe/juju/go-testing-remove-tree/+merge/97865 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : testing: add ZkRemoveTree function. #

Total comments: 5

Patch Set 3 : testing: add ZkRemoveTree function. #

Patch Set 4 : testing: add ZkRemoveTree function. #

Patch Set 5 : testing: add ZkRemoveTree function. #

Total comments: 2

Patch Set 6 : testing: add ZkRemoveTree function. #

Patch Set 7 : testing: add ZkRemoveTree function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -12 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M environs/ec2/live_test.go View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M environs/jujutest/livetests.go View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M store/branch.go View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M store/charmd/main.go View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M store/charmload/main.go View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M store/http_test.go View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M store/server_test.go View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M testing/zk.go View 1 2 3 4 5 2 chunks +39 lines, -2 lines 0 comments Download
A testing/zk_test.go View 1 2 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 11
rog
Please take a look.
12 years, 1 month ago (2012-03-16 12:51:52 UTC) #1
fwereade
LGTM apart from deleting "/", which I think we really should be able to do. ...
12 years, 1 month ago (2012-03-16 13:03:40 UTC) #2
rog
Please take a look.
12 years, 1 month ago (2012-03-16 13:09:19 UTC) #3
rog
Please take a look.
12 years, 1 month ago (2012-03-16 13:10:58 UTC) #4
rog
Please take a look.
12 years, 1 month ago (2012-03-16 13:12:01 UTC) #5
rog
PTAL https://codereview.appspot.com/5841047/diff/2001/testing/zk.go File testing/zk.go (right): https://codereview.appspot.com/5841047/diff/2001/testing/zk.go#newcode44 testing/zk.go:44: // calling zkRemoveTree(zk, "/")) we silently ignore it. ...
12 years, 1 month ago (2012-03-16 13:12:04 UTC) #6
fwereade
LGTM
12 years, 1 month ago (2012-03-16 13:48:44 UTC) #7
niemeyer
LGTM, but please fix the docs or implement what it suggests. https://codereview.appspot.com/5841047/diff/7001/testing/zk.go File testing/zk.go (right): ...
12 years, 1 month ago (2012-03-16 18:04:26 UTC) #8
rog
https://codereview.appspot.com/5841047/diff/7001/testing/zk.go File testing/zk.go (right): https://codereview.appspot.com/5841047/diff/7001/testing/zk.go#newcode64 testing/zk.go:64: if err != nil { On 2012/03/16 18:04:26, niemeyer ...
12 years, 1 month ago (2012-03-16 18:15:35 UTC) #9
rog
Please take a look.
12 years, 1 month ago (2012-03-16 18:36:55 UTC) #10
rog
12 years, 1 month ago (2012-03-16 18:38:45 UTC) #11
*** Submitted:

testing: add ZkRemoveTree function.

It's useful for cleaning zk state between tests and it was in danger of
having three separate implementations.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/5841047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b