From 1cd98c76c0da8a86bcb1d2e45523b7d02b25ebe4 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Fri, 10 Feb 2017 12:40:01 -0500 Subject: [PATCH] provider/aws: Fix ECS Task Definition Acceptance tests ``` $ make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSEcsTaskDefinition_withNetworkMode' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/02/10 12:12:32 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSEcsTaskDefinition_withNetworkMode -timeout 120m === RUN TestAccAWSEcsTaskDefinition_withNetworkMode --- PASS: TestAccAWSEcsTaskDefinition_withNetworkMode (13.70s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 13.741s ``` ``` $ make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSEcsTaskDefinition_withTaskRoleArn' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /terraform/vendor/) 2017/02/10 12:22:40 Generated command/internal_plugin_list.go TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSEcsTaskDefinition_withTaskRoleArn -timeout 120m === RUN TestAccAWSEcsTaskDefinition_withTaskRoleArn --- PASS: TestAccAWSEcsTaskDefinition_withTaskRoleArn (14.70s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 14.728s ``` --- .../resource_aws_ecs_task_definition_test.go | 161 +++++++++--------- 1 file changed, 80 insertions(+), 81 deletions(-) diff --git a/builtin/providers/aws/resource_aws_ecs_task_definition_test.go b/builtin/providers/aws/resource_aws_ecs_task_definition_test.go index d73296811..c80f0fe6b 100644 --- a/builtin/providers/aws/resource_aws_ecs_task_definition_test.go +++ b/builtin/providers/aws/resource_aws_ecs_task_definition_test.go @@ -347,62 +347,61 @@ func testAccAWSEcsTaskDefinitionWithTaskRoleArn(rInt int) string { name = "tf_old_name-%d" path = "/test/" assume_role_policy = <