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

Issue 7196054: environs/openstack: short timeouts

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

Description

environs/openstack: short timeouts There's no point waiting around the eventual consistency with the local server. Reduces the time to run environs/openstack tests from 42s to 9s. https://code.launchpad.net/~rogpeppe/juju-core/205-openstack-short-timeouts/+merge/144866 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/openstack: short timeouts #

Total comments: 3

Patch Set 3 : environs/openstack: short timeouts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/openstack/local_test.go View 1 4 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
11 years, 3 months ago (2013-01-25 08:39:41 UTC) #1
gz
LGTM. Drops the duration to 12 seconds for me, which is painful still but much ...
11 years, 3 months ago (2013-01-25 10:57:55 UTC) #2
wallyworld
LGTM. Thanks. https://codereview.appspot.com/7196054/diff/2001/environs/openstack/local_test.go File environs/openstack/local_test.go (right): https://codereview.appspot.com/7196054/diff/2001/environs/openstack/local_test.go#newcode8 environs/openstack/local_test.go:8: "net/http" On 2013/01/25 10:57:56, gz wrote: > ...
11 years, 3 months ago (2013-01-25 11:15:24 UTC) #3
rog
11 years, 3 months ago (2013-01-25 11:53:57 UTC) #4
*** Submitted:

environs/openstack: short timeouts

There's no point waiting around the eventual
consistency with the local server.

Reduces the time to run environs/openstack
tests from 42s to 9s.

R=gz, wallyworld
CC=
https://codereview.appspot.com/7196054

https://codereview.appspot.com/7196054/diff/2001/environs/openstack/local_tes...
File environs/openstack/local_test.go (right):

https://codereview.appspot.com/7196054/diff/2001/environs/openstack/local_tes...
environs/openstack/local_test.go:8: "net/http"
On 2013/01/25 10:57:56, gz wrote:
> Well, having these two packages with the same, generic name sucks. This is a
> reasonable workaround.

that's why i called the ec2 test double "ec2test", not "ec2"...
Sign in to reply to this message.

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