mirror of https://github.com/hashicorp/terraform
provider/aws: Randomize the ELB name in an AWS route53 acceptance test (#7341)
FYI @catsby The acceptance test was throwing the error: ``` * aws_elb.main: DuplicateLoadBalancerName: Load Balancer named * foobar-terraform-elb already exists and it is configured with * different parameters. ``` So randomized the name and the test still passes as expected: ``` make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSRoute53Record_alias' ==> Checking that code complies with gofmt requirements... go generate $(go list ./... | grep -v /vendor/) TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSRoute53Record_alias -timeout 120m === RUN TestAccAWSRoute53Record_alias --- PASS: TestAccAWSRoute53Record_alias (97.70s) PASS ok github.com/hashicorp/terraform/builtin/providers/aws 97.722s ```pull/3363/head
parent
d8bad59226
commit
d0fc1fa086
Loading…
Reference in new issue