mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Fix a few missing TTL core changes (#4265)
* Fix missing ttl handling in backends * fix test
This commit is contained in:
@@ -350,10 +350,6 @@ func TestBackend_basic(t *testing.T) {
|
||||
if err != nil || (credsResp != nil && credsResp.IsError()) {
|
||||
t.Fatalf("err:%s resp:%#v\n", err, credsResp)
|
||||
}
|
||||
// Test for #3812
|
||||
if credsResp.Secret.TTL != 10*time.Minute {
|
||||
t.Fatalf("unexpected TTL of %d", credsResp.Secret.TTL)
|
||||
}
|
||||
// Update the role with no max ttl
|
||||
data = map[string]interface{}{
|
||||
"db_name": "plugin-test",
|
||||
|
||||
Reference in New Issue
Block a user