Skip to content

Commit

Permalink
Fix test, update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
robmonte committed Feb 11, 2025
1 parent cfaabb6 commit a9b93fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

IMPROVEMENTS:
* Add support for Vault Enterprise automated root rotation
* Add config/rotate-root endpoint

## v0.19.0

Expand Down
8 changes: 7 additions & 1 deletion plugin/backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"os"
"strings"
"testing"
"time"

"github.com/hashicorp/go-gcp-common/gcputil"
hclog "github.com/hashicorp/go-hclog"
Expand All @@ -33,7 +34,12 @@ func testBackend(tb testing.TB) (*GcpAuthBackend, logical.Storage) {
config := logical.TestBackendConfig()
config.StorageView = new(logical.InmemStorage)
config.Logger = hclog.NewNullLogger()
config.System = &testSystemView{}
config.System = &testSystemView{
StaticSystemView: logical.StaticSystemView{
DefaultLeaseTTLVal: 1 * time.Hour,
MaxLeaseTTLVal: 12 * time.Hour,
},
}

b, err := Factory(context.Background(), config)
if err != nil {
Expand Down

0 comments on commit a9b93fa

Please sign in to comment.