From 00f4245572c03763d49dc455b68351a9402b4ebd Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 12 Feb 2015 12:01:21 -0800 Subject: [PATCH] terraform: count increase from one tests --- terraform/context_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/terraform/context_test.go b/terraform/context_test.go index 1bb9d9faf..7ea987656 100644 --- a/terraform/context_test.go +++ b/terraform/context_test.go @@ -740,8 +740,7 @@ func TestContext2Plan_countDecreaseToOne(t *testing.T) { } } -/* -func TestContextPlan_countIncreaseFromNotSet(t *testing.T) { +func TestContext2Plan_countIncreaseFromNotSet(t *testing.T) { m := testModule(t, "plan-count-inc") p := testProvider("aws") p.DiffFn = testDiffFn @@ -764,7 +763,7 @@ func TestContextPlan_countIncreaseFromNotSet(t *testing.T) { }, }, } - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "aws": testProviderFuncFixed(p), @@ -784,7 +783,7 @@ func TestContextPlan_countIncreaseFromNotSet(t *testing.T) { } } -func TestContextPlan_countIncreaseFromOne(t *testing.T) { +func TestContext2Plan_countIncreaseFromOne(t *testing.T) { m := testModule(t, "plan-count-inc") p := testProvider("aws") p.DiffFn = testDiffFn @@ -807,7 +806,7 @@ func TestContextPlan_countIncreaseFromOne(t *testing.T) { }, }, } - ctx := testContext(t, &ContextOpts{ + ctx := testContext2(t, &ContextOpts{ Module: m, Providers: map[string]ResourceProviderFactory{ "aws": testProviderFuncFixed(p), @@ -827,6 +826,7 @@ func TestContextPlan_countIncreaseFromOne(t *testing.T) { } } +/* func TestContextPlan_destroy(t *testing.T) { m := testModule(t, "plan-destroy") p := testProvider("aws")