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

Issue 11723043: various: fix test races

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

Description

various: fix test races These are various places that rely on testing.ShortWait to wait for something to occur. I discovered them by setting testing.ShortWait to 1us and seeing what failed. https://code.launchpad.net/~rogpeppe/juju-core/344-fix-test-timeouts-2/+merge/176444 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : various: fix test races #

Patch Set 3 : various: fix test races #

Total comments: 1

Patch Set 4 : various: fix test races #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -15 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 2 3 1 chunk +11 lines, -2 lines 0 comments Download
M state/watcher/watcher_test.go View 4 chunks +43 lines, -12 lines 0 comments Download
M testing/constants.go View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M worker/uniter/jujuc/server_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
10 years, 9 months ago (2013-07-23 17:39:13 UTC) #1
dimitern
LGTM with a suggestion. https://codereview.appspot.com/11723043/diff/5001/testing/constants.go File testing/constants.go (right): https://codereview.appspot.com/11723043/diff/5001/testing/constants.go#newcode7 testing/constants.go:7: "launchpad.net/juju-core/utils" "time" "launchpad.net/juju-core/utils" Please.
10 years, 9 months ago (2013-07-24 10:51:54 UTC) #2
fwereade
LGTM
10 years, 9 months ago (2013-07-25 09:24:15 UTC) #3
rog
10 years, 9 months ago (2013-07-30 16:36:32 UTC) #4
Please take a look.
Sign in to reply to this message.

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