Skip to content

Commit

Permalink
rebase import and add to new test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
DrFaust92 committed Apr 28, 2020
1 parent 758d90c commit 0f33994
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions aws/resource_aws_spot_fleet_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ func TestAccAWSSpotFleetRequest_launchTemplate(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "launch_template_config.#", "1"),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"wait_for_fulfillment"},
},
},
})
}
Expand Down Expand Up @@ -237,6 +243,12 @@ func TestAccAWSSpotFleetRequest_launchTemplateWithOverrides(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "launch_template_config.#", "1"),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"wait_for_fulfillment"},
},
},
})
}
Expand All @@ -262,6 +274,12 @@ func TestAccAWSSpotFleetRequest_launchTemplateToLaunchSpec(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "launch_template_config.#", "1"),
),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"wait_for_fulfillment"},
},
{
Config: testAccAWSSpotFleetRequestConfig(rName, rInt, validUntil),
Check: resource.ComposeAggregateTestCheckFunc(
Expand Down

0 comments on commit 0f33994

Please sign in to comment.