provider/aws: Seperate out TestAccAWSDBInstance_iops_update into it's own run
This will seperate the TestAccAWSDBInstance_iops_update test into it's own namespace for testing by itself in Travis
This commit is contained in:
parent
735e425daa
commit
f0021e1f03
|
@ -179,7 +179,7 @@ func TestAccAWSDBInstance_enhancedMonitoring(t *testing.T) {
|
||||||
// Regression test for https://github.com/hashicorp/terraform/issues/3760 .
|
// Regression test for https://github.com/hashicorp/terraform/issues/3760 .
|
||||||
// We apply a plan, then change just the iops. If the apply succeeds, we
|
// We apply a plan, then change just the iops. If the apply succeeds, we
|
||||||
// consider this a pass, as before in 3760 the request would fail
|
// consider this a pass, as before in 3760 the request would fail
|
||||||
func TestAccAWSDBInstance_iops_update(t *testing.T) {
|
func TestAccAWS_seperate_DBInstance_iops_update(t *testing.T) {
|
||||||
var v rds.DBInstance
|
var v rds.DBInstance
|
||||||
|
|
||||||
rName := acctest.RandString(5)
|
rName := acctest.RandString(5)
|
||||||
|
@ -203,11 +203,6 @@ func TestAccAWSDBInstance_iops_update(t *testing.T) {
|
||||||
testAccCheckAWSDBInstanceExists("aws_db_instance.bar", &v),
|
testAccCheckAWSDBInstanceExists("aws_db_instance.bar", &v),
|
||||||
testAccCheckAWSDBInstanceAttributes(&v),
|
testAccCheckAWSDBInstanceAttributes(&v),
|
||||||
),
|
),
|
||||||
// The plan will be non-empty because even with apply_immediatley, the
|
|
||||||
// instance has to apply the change via reboot, so follow up plans will
|
|
||||||
// show a non empty plan. The test is considered "successful" if the
|
|
||||||
// follow up change is applied at all.
|
|
||||||
ExpectNonEmptyPlan: true,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue