Initialize license in command_testonly for enterprise (#25175)

This commit is contained in:
Mike Palmiotto 2024-02-01 14:03:29 -05:00 committed by GitHub
parent 347345ac11
commit d75b5ed912
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,12 @@ import (
"github.com/stretchr/testify/require"
)
func init() {
if signed := os.Getenv("VAULT_LICENSE_CI"); signed != "" {
os.Setenv(command.EnvVaultLicense, signed)
}
}
const (
baseHCL = `
backend "inmem" { }