lp:~gz/goamz/tests_amazon_region
- Get this branch:
- bzr branch lp:~gz/goamz/tests_amazon_region
Branch merges
- goamz maintainers: Pending requested
-
Diff: 501 lines (+311/-29)7 files modifiedec2/ec2_test.go (+7/-7)
ec2/ec2i_test.go (+17/-7)
ec2/ec2t_test.go (+21/-9)
ec2/ec2test/server.go (+1/-1)
testutil/streams.go (+91/-0)
testutil/streams_test.go (+150/-0)
testutil/suite.go (+24/-5)
Branch information
Recent revisions
- 44. By Martin Packman
-
Change -amazon test flag to accept region value for testing against other regions
- 43. By Gustavo Niemeyer
-
ec2: support RunInstances with BlockDeviceMappings
R=dfc, nate.finch
CC=
https://codereview. appspot. com/9860044 - 42. By Martin Packman
-
ec2: support instance prefix on group filters
The EC2 API documentation allows for alternative spellings of
the group-name and group-id filters on instances. It seems only
the prefixed forms are actually supported when using default VPC
despite claims to the contrary, so add support for them to the
test server infrastructure.R=rog
CC=
https://codereview. appspot. com/14304043 - 41. By Martin Packman
-
ec2: Support groups at instance and reservation
Per the 2011-12-15 wsdl description of the EC2 api, the
GroupSetType containing security group details appears
on both ReservationInfoType and RunningInstancesSetType
inside it.This branch updates the code to parse the details at both
levels in a RunInstances or DescribeInstances response,
and updates the mock server to return the same details
at both levels.Change is required as it seems the reservation group set
is empty, while the instance group set is not in some
circumstances.R=rog
CC=
https://codereview. appspot. com/14302043 - 40. By Martin Packman
-
ec2: Add IP addresses to Instance struct
Expose IPAddress and PrivateIPAddress on Instance and add
sample values to ec2test server.R=rog, niemeyer
CC=
https://codereview. appspot. com/12768044 - 39. By Roger Peppe
-
s3: expose RetryAttempts
By doing this, we allow test code external to
goamz to adjust the timeout duration. It's particularly
useful when running against s3test - by changing
this we can reduce the time it takes to test
launchpad.net/juju- core/environs/ ec2 from
3 minutes to 6 seconds.R=dimitern, jameinel, niemeyer
CC=
https://codereview. appspot. com/12740044 - 37. By Ian Booth
-
Support EC2_ env variables
Allow the user to specify their auth credentials using EC2_ style
environment variables. I ran go fmt and it also made some changes.The tests failed to run due to a test http server not being closed when
each test suite finished. I added a fix for this also, so now all tests
pass when go test ./... is run from the project's root directory.R=jameinel, Danilo
CC=
https://codereview. appspot. com/9545045
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:goamz