Merge pull request #9273 from hashicorp/fix_secretsmanager_tests

un-bypass secretsmanager tests
This commit is contained in:
Wilken Rivera 2020-05-26 12:37:45 -04:00 committed by GitHub
commit 230fa34909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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)