mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
Initialize license in command_testonly for enterprise (#25175)
This commit is contained in:
parent
347345ac11
commit
d75b5ed912
1 changed files with 6 additions and 0 deletions
|
|
@ -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" { }
|
||||
|
|
|
|||
Loading…
Reference in a new issue