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

Issue 59620043: ec2: Fixed #1275406 - LocalServerSuite failure (Closed)

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

Description

ec2: Fixed #1275406 - LocalServerSuite failure LocalServerSuite.TestInstanceInfo fails due to the DNSName field being empty, where as the test expect it populated. Changed the test to refresh the instance data after it's started, because DNSName is empty until the instance state is "started" (according to AWS docs). In the test suite this is simulated by getting the instance data again, which includes the populated DNSName. https://code.launchpad.net/~dimitern/goamz/lp-1275406-lpcalserversuite-testinstanceinfo/+merge/204469 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : ec2: Fixed #1275406 - LocalServerSuite failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M ec2/ec2t_test.go View 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 7
dimitern
Please take a look.
10 years, 2 months ago (2014-02-03 12:13:15 UTC) #1
rog
On 2014/02/03 12:13:15, dimitern wrote: > Please take a look. LGTM
10 years, 2 months ago (2014-02-06 11:34:11 UTC) #2
gz
Fun. This is my test, added at r40, and it passes there. Wonder what broke ...
10 years, 2 months ago (2014-02-06 16:12:37 UTC) #3
dimitern
Thanks for all the reviews guys!
10 years, 2 months ago (2014-02-07 13:24:51 UTC) #4
niemeyer
On 2014/02/07 13:24:51, dimitern wrote: > Thanks for all the reviews guys! You've been added ...
10 years, 2 months ago (2014-02-12 12:53:53 UTC) #5
dimitern
On 2014/02/12 12:53:53, niemeyer wrote: > On 2014/02/07 13:24:51, dimitern wrote: > > Thanks for ...
10 years, 2 months ago (2014-02-12 12:59:22 UTC) #6
dimitern
10 years, 2 months ago (2014-02-12 13:02:32 UTC) #7
*** Submitted:

ec2: Fixed #1275406 - LocalServerSuite failure

LocalServerSuite.TestInstanceInfo fails due to
the DNSName field being empty, where as the
test expect it populated.
Changed the test to refresh the instance data
after it's started, because DNSName is empty
until the instance state is "started" (according
to AWS docs). In the test suite this is simulated
by getting the instance data again, which includes
the populated DNSName.

R=rog, gz, niemeyer
CC=
https://codereview.appspot.com/59620043
Sign in to reply to this message.

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