Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tech-debt: update SpotFleetRequest acceptance tests to use data source instance type #14841

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

anGie44
Copy link
Contributor

@anGie44 anGie44 commented Aug 25, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #14383

Notes:

  • requests with m1.small instance types consistently are not fulfilled so a switch here to using the micro's seems to work and conveniently can be referenced from the data source in tests configs

Release note for CHANGELOG:

tech-debt: update SpotFleetRequest acceptance tests to use data source instance type

Output from acceptance testing:

--- PASS: TestAccAWSSpotFleetRequest_overriddingSpotPrice (249.48s)
--- PASS: TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz (273.53s)

@anGie44 anGie44 added the technical-debt Addresses areas of the codebase that need refactoring or redesign. label Aug 25, 2020
@anGie44 anGie44 requested a review from a team August 25, 2020 19:52
@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Aug 25, 2020
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So much better 🚀

--- PASS: TestAccAWSSpotFleetRequest_lowestPriceSubnetInGivenList (236.38s)
--- PASS: TestAccAWSSpotFleetRequest_launchTemplateWithOverrides (283.37s)
--- PASS: TestAccAWSSpotFleetRequest_launchTemplate_multiple (283.45s)
--- PASS: TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameAz (304.74s)
--- PASS: TestAccAWSSpotFleetRequest_iamInstanceProfileArn (304.76s)
--- PASS: TestAccAWSSpotFleetRequest_basic (305.41s)
--- PASS: TestAccAWSSpotFleetRequest_instanceInterruptionBehavior (305.51s)
--- PASS: TestAccAWSSpotFleetRequest_fleetType (305.58s)
--- PASS: TestAccAWSSpotFleetRequest_tags (306.27s)
--- PASS: TestAccAWSSpotFleetRequest_lowestPriceAzOrSubnetInRegion (306.18s)
--- PASS: TestAccAWSSpotFleetRequest_lowestPriceAzInGivenList (307.43s)
--- PASS: TestAccAWSSpotFleetRequest_launchTemplate (307.18s)
--- PASS: TestAccAWSSpotFleetRequest_overriddingSpotPrice (308.23s)
--- SKIP: TestAccAWSSpotFleetRequest_WithInstanceStoreAmi (0.00s)
--- PASS: TestAccAWSSpotFleetRequest_multipleInstanceTypesInSameSubnet (309.26s)
--- PASS: TestAccAWSSpotFleetRequest_associatePublicIpAddress (347.19s)
--- PASS: TestAccAWSSpotFleetRequest_placementTenancyAndGroup (70.35s)
--- PASS: TestAccAWSSpotFleetRequest_LaunchSpecification_EbsBlockDevice_KmsKeyId (125.24s)
--- PASS: TestAccAWSSpotFleetRequest_LaunchSpecification_RootBlockDevice_KmsKeyId (125.05s)
--- PASS: TestAccAWSSpotFleetRequest_withoutSpotPrice (273.42s)
--- PASS: TestAccAWSSpotFleetRequest_launchSpecToLaunchTemplate (578.10s)
--- PASS: TestAccAWSSpotFleetRequest_updateExcessCapacityTerminationPolicy (580.72s)
--- PASS: TestAccAWSSpotFleetRequest_changePriceForcesNewRequest (581.56s)
--- PASS: TestAccAWSSpotFleetRequest_launchTemplateToLaunchSpec (581.47s)
--- PASS: TestAccAWSSpotFleetRequest_multipleInstancePools (299.80s)
--- PASS: TestAccAWSSpotFleetRequest_diversifiedAllocation (300.60s)
--- PASS: TestAccAWSSpotFleetRequest_withTags (279.90s)
--- PASS: TestAccAWSSpotFleetRequest_disappears (283.77s)
--- PASS: TestAccAWSSpotFleetRequest_WithELBs (290.55s)
--- PASS: TestAccAWSSpotFleetRequest_withWeightedCapacity (345.92s)
--- PASS: TestAccAWSSpotFleetRequest_zero_capacity (345.05s)
--- PASS: TestAccAWSSpotFleetRequest_withEBSDisk (352.17s)
--- PASS: TestAccAWSSpotFleetRequest_WithTargetGroups (358.02s)
--- PASS: TestAccAWSSpotFleetRequest_updateTargetCapacity (852.55s)

@anGie44 anGie44 merged commit 39bc056 into master Aug 28, 2020
@anGie44 anGie44 deleted the td-ec2-spot-fleet-request-tests branch August 28, 2020 18:22
@anGie44 anGie44 modified the milestone: v3.5.0 Aug 28, 2020
@ghost
Copy link

ghost commented Sep 3, 2020

This has been released in version 3.5.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Sep 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Sep 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/ec2 Issues and PRs that pertain to the ec2 service. size/S Managed by automation to categorize the size of a PR. technical-debt Addresses areas of the codebase that need refactoring or redesign. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants