From 4a058dfd19d53d82d8038e55701c7e24e482bb61 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 21 May 2020 10:26:34 -0700 Subject: [PATCH] un-bypass secretsmanager tests --- .../interpolate/aws/secretsmanager/secretsmanager_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/interpolate/aws/secretsmanager/secretsmanager_test.go b/template/interpolate/aws/secretsmanager/secretsmanager_test.go index a2831b6db..32905b075 100644 --- a/template/interpolate/aws/secretsmanager/secretsmanager_test.go +++ b/template/interpolate/aws/secretsmanager/secretsmanager_test.go @@ -115,12 +115,12 @@ func TestGetSecret(t *testing.T) { got, err := c.GetSecret(test.arg) if test.ok { if got != test.want { - t.Logf("want %v, got %v, error %v, using arg %v", test.want, got, err, test.arg) + t.Fatalf("want %v, got %v, error %v, using arg %v", test.want, got, err, test.arg) } } if !test.ok { if err == nil { - t.Logf("error expected but got %q, using arg %v", err, test.arg) + t.Fatalf("error expected but got %q, using arg %v", err, test.arg) } } t.Logf("arg (%v), want %v, got %v, err %v", test.arg, test.want, got, err)