mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-05 04:16:31 +02:00
Don't run transit fuzzing if not during acceptance tests
This commit is contained in:
parent
a86c1ba264
commit
581d2cfee0
@ -4,6 +4,7 @@ import (
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
@ -547,6 +548,11 @@ func TestKeyUpgrade(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPolicyFuzzing(t *testing.T) {
|
||||
// Don't run if not during acceptance tests
|
||||
if os.Getenv("TF_ACC") == "" {
|
||||
return
|
||||
}
|
||||
|
||||
be := Backend()
|
||||
|
||||
storage := &logical.LockingInmemStorage{}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user