vault/command/init_func_test.go
Vault Automation b2253c31ac
Fix reload tests (#9420) (#9766)
Re-enable some tests that were being skipped due to flakiness.  Fix flakiness stemming from not waiting until new license was applied.  Fix race in AOP code.

Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2025-10-01 19:37:03 +00:00

13 lines
217 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package command
import "os"
func init() {
if signed := os.Getenv("VAULT_LICENSE_CI"); signed != "" {
os.Setenv(EnvVaultLicense, signed)
}
}