Skip to content

Commit

Permalink
test/resource/guardduty_ipset: Run IPSet tests serially with other Gu…
Browse files Browse the repository at this point in the history
…ardDuty testing
  • Loading branch information
bflad committed Jan 30, 2018
1 parent 7ab3832 commit 1e07bae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/resource_aws_guardduty_ipset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform/terraform"
)

func TestAccAwsGuardDutyIpset_basic(t *testing.T) {
func testAccAwsGuardDutyIpset_basic(t *testing.T) {
bucketName := fmt.Sprintf("tf-test-%s", acctest.RandString(5))
keyName1 := fmt.Sprintf("tf-%s", acctest.RandString(5))
keyName2 := fmt.Sprintf("tf-%s", acctest.RandString(5))
Expand Down Expand Up @@ -49,7 +49,7 @@ func TestAccAwsGuardDutyIpset_basic(t *testing.T) {
})
}

func TestAccAwsGuardDutyIpset_import(t *testing.T) {
func testAccAwsGuardDutyIpset_import(t *testing.T) {
resourceName := "aws_guardduty_ipset.test"
bucketName := fmt.Sprintf("tf-test-%s", acctest.RandString(5))
keyName := fmt.Sprintf("tf-%s", acctest.RandString(5))
Expand Down
4 changes: 4 additions & 0 deletions aws/resource_aws_guardduty_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ func TestAccAWSGuardDuty(t *testing.T) {
"basic": testAccAwsGuardDutyDetector_basic,
"import": testAccAwsGuardDutyDetector_import,
},
"IPSet": {
"basic": testAccAwsGuardDutyIpset_basic,
"import": testAccAwsGuardDutyIpset_import,
},
"Member": {
"basic": testAccAwsGuardDutyMember_basic,
"import": testAccAwsGuardDutyMember_import,
Expand Down

0 comments on commit 1e07bae

Please sign in to comment.