From 1e07bae2cdf74b8a6e0022b48b824e9d079e8d98 Mon Sep 17 00:00:00 2001 From: Brian Flad Date: Tue, 30 Jan 2018 08:34:24 -0500 Subject: [PATCH] test/resource/guardduty_ipset: Run IPSet tests serially with other GuardDuty testing --- aws/resource_aws_guardduty_ipset_test.go | 4 ++-- aws/resource_aws_guardduty_test.go | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/aws/resource_aws_guardduty_ipset_test.go b/aws/resource_aws_guardduty_ipset_test.go index ce9cb2fdcd8..53adee87f65 100644 --- a/aws/resource_aws_guardduty_ipset_test.go +++ b/aws/resource_aws_guardduty_ipset_test.go @@ -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)) @@ -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)) diff --git a/aws/resource_aws_guardduty_test.go b/aws/resource_aws_guardduty_test.go index bee271457ca..377c8fe4c0d 100644 --- a/aws/resource_aws_guardduty_test.go +++ b/aws/resource_aws_guardduty_test.go @@ -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,