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

Issue 7094043: jujud: more robust test

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by fwereade
Modified:
11 years, 3 months ago
Reviewers:
dimitern, mp+142874, rog
Visibility:
Public.

Description

jujud: more robust test TestHostUnits was sometimes panicing with a nil state pointer in waitDeployedUnits; now it shouldn't. https://code.launchpad.net/~fwereade/juju-core/better-jujud-machine-test/+merge/142874 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : jujud: more robust test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/deploy_test.go View 4 chunks +20 lines, -12 lines 0 comments Download

Messages

Total messages: 9
fwereade
Please take a look.
11 years, 3 months ago (2013-01-11 11:28:55 UTC) #1
rog
definitely needs fixing, but perhaps not *quite* like that. a suggestion below. https://codereview.appspot.com/7094043/diff/1/cmd/jujud/deploy_test.go File cmd/jujud/deploy_test.go ...
11 years, 3 months ago (2013-01-11 11:49:27 UTC) #2
fwereade
https://codereview.appspot.com/7094043/diff/1/cmd/jujud/deploy_test.go File cmd/jujud/deploy_test.go (right): https://codereview.appspot.com/7094043/diff/1/cmd/jujud/deploy_test.go#newcode90 cmd/jujud/deploy_test.go:90: close(mgr.inited) On 2013/01/11 11:49:27, rog wrote: > not entirely ...
11 years, 3 months ago (2013-01-11 12:05:51 UTC) #3
rog
On 2013/01/11 12:05:51, fwereade wrote: > https://codereview.appspot.com/7094043/diff/1/cmd/jujud/deploy_test.go > File cmd/jujud/deploy_test.go (right): > > https://codereview.appspot.com/7094043/diff/1/cmd/jujud/deploy_test.go#newcode90 > ...
11 years, 3 months ago (2013-01-11 13:04:47 UTC) #4
fwereade
On 2013/01/11 13:04:47, rog wrote: > On 2013/01/11 12:05:51, fwereade wrote: > > https://codereview.appspot.com/7094043/diff/1/cmd/jujud/deploy_test.go > ...
11 years, 3 months ago (2013-01-11 13:08:11 UTC) #5
rog
On 2013/01/11 13:08:11, fwereade wrote: > waitDeployed is called several times per test, so we ...
11 years, 3 months ago (2013-01-11 13:11:14 UTC) #6
fwereade
On 2013/01/11 13:11:14, rog wrote: > On 2013/01/11 13:08:11, fwereade wrote: > > waitDeployed is ...
11 years, 3 months ago (2013-01-11 13:11:57 UTC) #7
dimitern
LGTM
11 years, 3 months ago (2013-01-11 15:17:37 UTC) #8
fwereade
11 years, 3 months ago (2013-01-11 15:44:59 UTC) #9
*** Submitted:

jujud: more robust test

TestHostUnits was sometimes panicing with a nil state pointer in
waitDeployedUnits; now it shouldn't.

R=rog, dimitern
CC=
https://codereview.appspot.com/7094043
Sign in to reply to this message.

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