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

Issue 12787050: provider/ec2: use s3.RetryAttempts

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by rog
Modified:
10 years, 8 months ago
Reviewers:
mp+181759, jtv.canonical, axw1
Visibility:
Public.

Description

provider/ec2: use s3.RetryAttempts This speeds the tests up from about 80s to 3s. I've also taken this opportunity to clean up some of the test code. https://code.launchpad.net/~rogpeppe/juju-core/373-ec2-no-s3-retry/+merge/181759 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : provider/ec2: use s3.RetryAttempts #

Total comments: 5

Patch Set 3 : provider/ec2: use s3.RetryAttempts #

Patch Set 4 : provider/ec2: use s3.RetryAttempts #

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

Messages

Total messages: 5
axw1
LGTM
10 years, 8 months ago (2013-08-23 09:57:10 UTC) #1
jtv.canonical
Great to see this happen, thanks. https://codereview.appspot.com/12787050/diff/3001/provider/ec2/local_test.go File provider/ec2/local_test.go (right): https://codereview.appspot.com/12787050/diff/3001/provider/ec2/local_test.go#newcode339 provider/ec2/local_test.go:339: c.Assert(urls[0], gc.Equals, imagemetadata.DefaultBaseURL) ...
10 years, 8 months ago (2013-08-23 10:07:43 UTC) #2
jtv.canonical
And "LGTM." Forgot that bit.
10 years, 8 months ago (2013-08-23 10:08:12 UTC) #3
rog
Please take a look. https://codereview.appspot.com/12787050/diff/3001/provider/ec2/local_test.go File provider/ec2/local_test.go (right): https://codereview.appspot.com/12787050/diff/3001/provider/ec2/local_test.go#newcode339 provider/ec2/local_test.go:339: c.Assert(urls[0], gc.Equals, imagemetadata.DefaultBaseURL) On 2013/08/23 ...
10 years, 8 months ago (2013-08-23 15:28:18 UTC) #4
rog
10 years, 8 months ago (2013-08-23 16:24:12 UTC) #5
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