provider/aws: ebs_volume id-only tests

This commit is contained in:
Mitchell Hashimoto 2016-04-21 21:49:17 -07:00
parent f0511631bf
commit f394ce1ef3
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 9 additions and 6 deletions

View File

@ -14,6 +14,7 @@ func TestAccAWSEBSVolume_basic(t *testing.T) {
var v ec2.Volume
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_ebs_volume.test",
Providers: testAccProviders,
Steps: []resource.TestStep{
resource.TestStep{
@ -30,6 +31,7 @@ func TestAccAWSEBSVolume_NoIops(t *testing.T) {
var v ec2.Volume
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_ebs_volume.iops_test",
Providers: testAccProviders,
Steps: []resource.TestStep{
resource.TestStep{
@ -46,6 +48,7 @@ func TestAccAWSEBSVolume_withTags(t *testing.T) {
var v ec2.Volume
resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
IDRefreshName: "aws_ebs_volume.tags_test",
Providers: testAccProviders,
Steps: []resource.TestStep{
resource.TestStep{