Merge pull request #9273 from hashicorp/fix_secretsmanager_tests
un-bypass secretsmanager tests
This commit is contained in:
commit
230fa34909
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue