Skip to content

Commit

Permalink
r/aws_sagemaker_flow_definition: Serialize tests with others.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Sep 21, 2021
1 parent 12c6a83 commit d0fc1ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 5 additions & 5 deletions aws/resource_aws_sagemaker_flow_definition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func testSweepSagemakerFlowDefinitions(region string) error {
return sweeperErrs.ErrorOrNil()
}

func TestAccAWSSagemakerFlowDefinition_basic(t *testing.T) {
func testAccAWSSagemakerFlowDefinition_basic(t *testing.T) {
var flowDefinition sagemaker.DescribeFlowDefinitionOutput
rName := acctest.RandomWithPrefix("tf-acc-test")
resourceName := "aws_sagemaker_flow_definition.test"
Expand Down Expand Up @@ -101,7 +101,7 @@ func TestAccAWSSagemakerFlowDefinition_basic(t *testing.T) {
})
}

func TestAccAWSSagemakerFlowDefinition_humanLoopConfig_publicWorkforce(t *testing.T) {
func testAccAWSSagemakerFlowDefinition_humanLoopConfig_publicWorkforce(t *testing.T) {
var flowDefinition sagemaker.DescribeFlowDefinitionOutput
rName := acctest.RandomWithPrefix("tf-acc-test")
resourceName := "aws_sagemaker_flow_definition.test"
Expand Down Expand Up @@ -133,7 +133,7 @@ func TestAccAWSSagemakerFlowDefinition_humanLoopConfig_publicWorkforce(t *testin
})
}

func TestAccAWSSagemakerFlowDefinition_humanLoopRequestSource(t *testing.T) {
func testAccAWSSagemakerFlowDefinition_humanLoopRequestSource(t *testing.T) {
var flowDefinition sagemaker.DescribeFlowDefinitionOutput
rName := acctest.RandomWithPrefix("tf-acc-test")
resourceName := "aws_sagemaker_flow_definition.test"
Expand Down Expand Up @@ -165,7 +165,7 @@ func TestAccAWSSagemakerFlowDefinition_humanLoopRequestSource(t *testing.T) {
})
}

func TestAccAWSSagemakerFlowDefinition_tags(t *testing.T) {
func testAccAWSSagemakerFlowDefinition_tags(t *testing.T) {
var flowDefinition sagemaker.DescribeFlowDefinitionOutput
rName := acctest.RandomWithPrefix("tf-acc-test")
resourceName := "aws_sagemaker_flow_definition.test"
Expand Down Expand Up @@ -210,7 +210,7 @@ func TestAccAWSSagemakerFlowDefinition_tags(t *testing.T) {
})
}

func TestAccAWSSagemakerFlowDefinition_disappears(t *testing.T) {
func testAccAWSSagemakerFlowDefinition_disappears(t *testing.T) {
var flowDefinition sagemaker.DescribeFlowDefinitionOutput
rName := acctest.RandomWithPrefix("tf-acc-test")
resourceName := "aws_sagemaker_flow_definition.test"
Expand Down
7 changes: 7 additions & 0 deletions aws/resource_aws_sagemaker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ func TestAccAWSSagemaker_serial(t *testing.T) {
"securityGroup": testAccAWSSagemakerDomain_securityGroup,
"sharingSettings": testAccAWSSagemakerDomain_sharingSettings,
},
"FlowDefinition": {
"basic": testAccAWSSagemakerFlowDefinition_basic,
"disappears": testAccAWSSagemakerFlowDefinition_disappears,
"HumanLoopConfigPublicWorkforce": testAccAWSSagemakerFlowDefinition_humanLoopConfig_publicWorkforce,
"HumanLoopRequestSource": testAccAWSSagemakerFlowDefinition_humanLoopRequestSource,
"Tags": testAccAWSSagemakerFlowDefinition_tags,
},
"UserProfile": {
"basic": testAccAWSSagemakerUserProfile_basic,
"disappears": testAccAWSSagemakerUserProfile_tags,
Expand Down

0 comments on commit d0fc1ad

Please sign in to comment.