From a3ffb6ea6e663d143d427463a9f3080d2ad46a4e Mon Sep 17 00:00:00 2001 From: Clint Shryock Date: Wed, 15 Apr 2015 09:43:43 -0500 Subject: [PATCH] fix test failure --- builtin/providers/aws/structure_sdk_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/builtin/providers/aws/structure_sdk_test.go b/builtin/providers/aws/structure_sdk_test.go index 8d445cea2..2d0be8646 100644 --- a/builtin/providers/aws/structure_sdk_test.go +++ b/builtin/providers/aws/structure_sdk_test.go @@ -206,7 +206,7 @@ func TestExpandListenersSDK(t *testing.T) { t.Fatalf("bad: %#v", err) } - expected := elb.Listener{ + expected := &elb.Listener{ InstancePort: aws.Long(int64(8000)), LoadBalancerPort: aws.Long(int64(80)), InstanceProtocol: aws.String("http"), @@ -237,11 +237,11 @@ func TestFlattenHealthCheckSDK(t *testing.T) { }, Output: []map[string]interface{}{ map[string]interface{}{ - "unhealthy_threshold": 10, - "healthy_threshold": 10, + "unhealthy_threshold": int64(10), + "healthy_threshold": int64(10), "target": "HTTP:80/", - "timeout": 30, - "interval": 30, + "timeout": int64(30), + "interval": int64(30), }, }, },