final fix after merge with master

This commit is contained in:
= 2017-04-03 13:27:43 -06:00
parent 02d3e1c12e
commit 35ceeb15f4
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,6 @@ func TestAccAWSCustomerGateway_disappears(t *testing.T) {
rInt := acctest.RandInt() rInt := acctest.RandInt()
rBgpAsn := acctest.RandIntRange(64512, 65534) rBgpAsn := acctest.RandIntRange(64512, 65534)
var gateway ec2.CustomerGateway var gateway ec2.CustomerGateway
randInt := acctest.RandInt()
resource.Test(t, resource.TestCase{ resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) }, PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders, Providers: testAccProviders,

View File

@ -81,6 +81,7 @@ func TestAccAWSVpnConnection_withoutStaticRoutes(t *testing.T) {
} }
func TestAccAWSVpnConnection_disappears(t *testing.T) { func TestAccAWSVpnConnection_disappears(t *testing.T) {
rBgpAsn := acctest.RandIntRange(64512, 65534)
var vpn ec2.VpnConnection var vpn ec2.VpnConnection
resource.Test(t, resource.TestCase{ resource.Test(t, resource.TestCase{
@ -89,7 +90,7 @@ func TestAccAWSVpnConnection_disappears(t *testing.T) {
CheckDestroy: testAccAwsVpnConnectionDestroy, CheckDestroy: testAccAwsVpnConnectionDestroy,
Steps: []resource.TestStep{ Steps: []resource.TestStep{
{ {
Config: testAccAwsVpnConnectionConfig, Config: testAccAwsVpnConnectionConfig(rBgpAsn),
Check: resource.ComposeTestCheckFunc( Check: resource.ComposeTestCheckFunc(
testAccAwsVpnConnection( testAccAwsVpnConnection(
"aws_vpc.vpc", "aws_vpc.vpc",